diff options
| author | bobzel <zzzman@gmail.com> | 2024-05-17 14:55:36 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-05-17 14:55:36 -0400 |
| commit | 0b451af28e5aef6b749da61e8a9fcd0a840789ac (patch) | |
| tree | bdee4e28ee4715b69299a8da1b615c70b6adc445 /src/client/views/nodes/formattedText/FormattedTextBox.scss | |
| parent | 8c1b420a143e4b72ec551277887c211ca6ca003b (diff) | |
| parent | 38a382a03675d6a50ec7de75f05025efd093f570 (diff) | |
merged with new master
Diffstat (limited to 'src/client/views/nodes/formattedText/FormattedTextBox.scss')
| -rw-r--r-- | src/client/views/nodes/formattedText/FormattedTextBox.scss | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.scss b/src/client/views/nodes/formattedText/FormattedTextBox.scss index 38dd2e847..99b4a84fc 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.scss +++ b/src/client/views/nodes/formattedText/FormattedTextBox.scss @@ -349,8 +349,9 @@ footnote::before { touch-action: none; span { font-family: inherit; - background-color: inherit; - display: contents; // fixes problem where extra space is added around <ol> lists when inside a prosemirror span + // background-color: inherit; // intended to allow texts to inherit background from list container, but this prevents css highlights e.,g highlight text from others + display: inline; // needs to be inline for search highlighting to appear + // display: contents; // BUT needs to be 'contents' to avoid Chrome bug where extra space is added above and <ol> lists when inside a prosemirror span } blockquote { |
