瀏覽代碼

Fix editor preview height and word-break

sbkwgh 8 年之前
父節點
當前提交
cb87bd7bf5
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      frontend/src/components/routes/ThreadNew.vue

+ 3 - 2
frontend/src/components/routes/ThreadNew.vue

@@ -380,8 +380,9 @@
 			border-left: 1px solid $color__gray--darker;
 			width: 50%;
 
-			.input_editor_preview__markdownHTML {
-				height: 14.2rem;
+			div.input_editor_preview__markdownHTML {
+				height: 14.1rem;
+				word-break: break-all;
 			}
 		}
 	}