Browse Source

Merge pull request #658 from bhikkhu-kosalla-china/master

译文过长抢修
Bhikkhu China Kosalla 4 years ago
parent
commit
cceff52d26
2 changed files with 13 additions and 2 deletions
  1. 8 0
      app/article/index.php
  2. 5 2
      app/term/term.css

+ 8 - 0
app/article/index.php

@@ -216,6 +216,14 @@ span.fancytree-node{
 	text-decoration-line: underline;
 	text-decoration-line: underline;
 	
 	
 }
 }
+.sent_tran a{
+	white-space: normal;
+	overflow-wrap: anywhere;
+}
+.para_tran_div a{
+	white-space: normal;
+	overflow-wrap: anywhere;
+}
 
 
 </style>
 </style>
 
 

+ 5 - 2
app/term/term.css

@@ -647,11 +647,14 @@ pw {
 	display: block;
 	display: block;
 	flex: 20;
 	flex: 20;
 }
 }
-.sent_tran_inner a{
+.sent_tran a{
+	white-space: normal;
+	overflow-wrap: anywhere;
+}
+.para_tran_div a{
 	white-space: normal;
 	white-space: normal;
 	overflow-wrap: anywhere;
 	overflow-wrap: anywhere;
 }
 }
-
 .preview {
 .preview {
 	font-size: 110%;
 	font-size: 110%;
 }
 }