瀏覽代碼

fix: Text overflow in article summary (#4923)

maTh 3 年之前
父節點
當前提交
a501cc88e7
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      p/themes/base-theme/frss.css
  2. 1 0
      p/themes/base-theme/frss.rtl.css

+ 1 - 0
p/themes/base-theme/frss.css

@@ -1241,6 +1241,7 @@ a.website:hover .favicon {
 	color: var(--frss-font-color-grey-dark);
 	font-size: 0.9rem;
 	font-weight: normal;
+	overflow: hidden;
 	text-overflow: ellipsis;
 	-webkit-line-clamp: 2;
 	-webkit-box-orient: vertical;

+ 1 - 0
p/themes/base-theme/frss.rtl.css

@@ -1241,6 +1241,7 @@ a.website:hover .favicon {
 	color: var(--frss-font-color-grey-dark);
 	font-size: 0.9rem;
 	font-weight: normal;
+	overflow: hidden;
 	text-overflow: ellipsis;
 	-webkit-line-clamp: 2;
 	-webkit-box-orient: vertical;