Browse Source

Set text-wrap balance for title (#13962)

GitOrigin-RevId: 1d447bad517e3a389ed2668c0167aa52fae3be69
Alf Eaton 3 years ago
parent
commit
cf285651ff

+ 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',