Преглед изворни кода

Added Issue Comment Segment as a Card

Yoginth пре 7 година
родитељ
комит
25db0e49ec
3 измењених фајлова са 15 додато и 2 уклоњено
  1. 4 0
      public/css/gitote.css
  2. 7 0
      public/less/_dashboard.less
  3. 4 2
      templates/user/dashboard/feeds.tmpl

+ 4 - 0
public/css/gitote.css

@@ -3724,6 +3724,10 @@ footer .ui.language .menu {
   max-width: 120px;
   margin-bottom: -5px;
 }
+.feeds .issue {
+  word-break: break-all;
+  font-size: 13px !important;
+}
 .ui.grid > [class*="fifteen wide"].column {
   text-align: left;
 }

+ 7 - 0
public/less/_dashboard.less

@@ -244,6 +244,13 @@
 	}
 }
 
+.feeds {
+	.issue {
+		word-break: break-all;
+		font-size: 13px !important;
+	}
+}
+
 .ui.grid > [class*="fifteen wide"].column {
 	text-align: left;
 }

+ 4 - 2
templates/user/dashboard/feeds.tmpl

@@ -97,8 +97,10 @@
 					{{else if eq .GetOpType 7}}
 						<span class="text truncate issue title has-emoji">{{index .GetIssueInfos 1}}</span>
 					{{else if eq .GetOpType 10}}
-						<span class="text truncate issue title has-emoji">{{.GetIssueTitle}}</span>
-						<p style="word-break:break-all" class="text light grey has-emoji">{{index .GetIssueInfos 1}}</p>
+						<div class="ui segment">
+							<span class="text truncate issue title has-emoji">{{.GetIssueTitle}}</span>
+							<p class="text light grey has-emoji feeds issue">{{index .GetIssueInfos 1}}</p>
+						</div>
 					{{else if eq .GetOpType 11}}
 						<p class="text light grey has-emoji">{{index .GetIssueInfos 1}}</p>
 					{{else if (or (or (eq .GetOpType 12) (eq .GetOpType 13)) (or (eq .GetOpType 14) (eq .GetOpType 15)))}}