浏览代码

public/css: add 'overflow-wrap: break-word' to dashboard news feeds (#5507)

A.J. Ruckman 5 年之前
父节点
当前提交
f4630f9044
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      public/css/gogs.css
  2. 1 0
      public/less/_dashboard.less

+ 1 - 0
public/css/gogs.css

@@ -3034,6 +3034,7 @@ footer .ui.language .menu {
 }
 .feeds .news p {
   line-height: 1em;
+  overflow-wrap: break-word;
 }
 .feeds .news .time-since {
   font-size: 13px;

+ 1 - 0
public/less/_dashboard.less

@@ -61,6 +61,7 @@
 		}
 		p {
 			line-height: 1em;
+			overflow-wrap: break-word;
 		}
 		.time-since {
 			font-size: 13px;