diff options
author | Julius Härtl <jus@bitgrid.net> | 2022-05-05 15:46:32 +0300 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2022-05-06 10:35:19 +0300 |
commit | 79c99ed43eac4fa6efe49a210bf77bc75122411c (patch) | |
tree | 5f9792d396ec5f373dbed154a68e38573a786020 /css | |
parent | 6733605c8624dfd324d979937a1c1046c0b7bb95 (diff) |
Switch to auto table layoutbugfix/noid/table-layout
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'css')
-rw-r--r-- | css/prosemirror.scss | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/css/prosemirror.scss b/css/prosemirror.scss index 60ad544f0..955fc4043 100644 --- a/css/prosemirror.scss +++ b/css/prosemirror.scss @@ -267,7 +267,7 @@ div.ProseMirror { table { border-spacing: 0; width: calc(100% - 50px); - table-layout: fixed; + table-layout: auto; white-space: normal; // force text to wrapping margin-bottom: 1em; + & { @@ -290,10 +290,14 @@ div.ProseMirror { color: var(--color-main-text); } th { - padding: 0 0 0 0.75em; - font-weight: normal; - border-bottom-color: var(--table-color-heading-border); - color: var(--table-color-heading); + padding: 0 0 0 0.75em; + font-weight: normal; + border-bottom-color: var(--table-color-heading-border); + color: var(--table-color-heading); + + & > div { + display: flex; + } } tr { background-color: var(--table-color-background); |