Browse Source

consistency: show author in multipanel headlines row

Andrew Dolgov 1 year ago
parent
commit
95e1038e6d
6 changed files with 21 additions and 1 deletions
  1. 6 0
      css/default.css
  2. 0 0
      css/default.css.map
  3. 8 0
      css/tt-rss.less
  4. 1 1
      js/Headlines.js
  5. 6 0
      themes/night.css
  6. 0 0
      themes/night.css.map

+ 6 - 0
css/default.css

@@ -227,6 +227,12 @@ body.ttrss_main .hl div.title {
   overflow: hidden;
   text-overflow: ellipsis;
 }
+body.ttrss_main .hl span.author {
+  white-space: nowrap;
+  color: #555555;
+  font-size: 11px;
+  font-weight: normal;
+}
 body.ttrss_main .hl div.right {
   text-align: right;
 }

File diff suppressed because it is too large
+ 0 - 0
css/default.css.map


+ 8 - 0
css/tt-rss.less

@@ -236,6 +236,7 @@ body.ttrss_main {
 		img {
 			vertical-align : middle;
 		}
+
 		.left, .right {
 			display : flex;
 
@@ -259,6 +260,13 @@ body.ttrss_main {
 			text-overflow : ellipsis;
 		}
 
+		span.author {
+			white-space : nowrap;
+			color : @default-text;
+			font-size : 11px;
+			font-weight : normal;
+		}
+
 		div.right {
 			text-align : right;
 		}

+ 1 - 1
js/Headlines.js

@@ -347,7 +347,7 @@ define(["dojo/_base/declare"], function (declare) {
 				<div onclick="return Headlines.click(event, ${hl.id})" class="title">
 					<span data-article-id="${hl.id}" class="hl-content hlMenuAttach">
 						<a class="title" href="${hl.link}">${hl.title} <span class="preview">${hl.content_preview}</span></a>
-						<!-- <span class="author">${hl.author}</span> -->
+						<span class="author">${hl.author}</span>
 						<span class="HLLCTR-${hl.id}">${hl.labels}</span>
 					</span>
 				</div>

+ 6 - 0
themes/night.css

@@ -227,6 +227,12 @@ body.ttrss_main .hl div.title {
   overflow: hidden;
   text-overflow: ellipsis;
 }
+body.ttrss_main .hl span.author {
+  white-space: nowrap;
+  color: #cccccc;
+  font-size: 11px;
+  font-weight: normal;
+}
 body.ttrss_main .hl div.right {
   text-align: right;
 }

File diff suppressed because it is too large
+ 0 - 0
themes/night.css.map


Some files were not shown because too many files changed in this diff