瀏覽代碼

Set text-wrap balance for title (#13962)

GitOrigin-RevId: 1d447bad517e3a389ed2668c0167aa52fae3be69
Alf Eaton 3 年之前
父節點
當前提交
cf285651ff
共有 1 個文件被更改,包括 1 次插入 和 0 次删除
  1. 1 0
      services/web/frontend/js/features/source-editor/extensions/visual/visual-theme.ts

+ 1 - 0
services/web/frontend/js/features/source-editor/extensions/visual/visual-theme.ts

@@ -87,6 +87,7 @@ export const visualTheme = EditorView.theme({
     cursor: 'pointer',
     padding: '0.5em',
     lineHeight: 'calc(var(--line-height) * 5/6)',
+    textWrap: 'balance',
   },
   '.ol-cm-authors': {
     display: 'flex',