Browse Source

Merge pull request #203 from visuddhinanda/master

🐛 修正逐段译文显示的flex
Bhikkhu-Kosalla 5 years ago
parent
commit
a863fc1c1f
2 changed files with 1 additions and 2 deletions
  1. 1 1
      app/term/note.js
  2. 0 1
      app/term/term.css

+ 1 - 1
app/term/note.js

@@ -464,7 +464,7 @@ function note_json_html(in_json) {
 
 	//output += "<div class='translation_div'>";
 	for (const iterator of in_json.translation) {
-		output += "<div class='tran' lang='" + iterator.lang + "'>";
+		output += "<div class='tran' lang='" + iterator.lang + "' style='display:flex;'>";
 		//译文工具按钮开始
 		output += "<div class='tran_text_tool_botton' onclick='tool_bar_show(this)'>";
 		output +=

+ 0 - 1
app/term/term.css

@@ -162,7 +162,6 @@ note > .tran {
 	padding: 0;
 	position: relative;
 	margin-top: -0.5em;
-	display: flex;
 }
 note > .tran > .text {
 	margin-bottom: 2em;