Переглянути джерело

Added Issue Comment Segment as a Card

Yoginth 7 роки тому
батько
коміт
25db0e49ec

+ 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)))}}