diff options
| author | bobzel <zzzman@gmail.com> | 2024-05-15 10:55:17 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-05-15 10:55:17 -0400 |
| commit | 213e5c5ab7dcb7a92a2d6c0e2ca10433ddc3141f (patch) | |
| tree | 01a4c5501ce4e6ce8fb74c4a64acb6bc77c5562e /src/client/views/nodes/formattedText/FormattedTextBox.scss | |
| parent | c329d7719ed60d71bec4a8ac7309e33081c3373c (diff) | |
| parent | 0b1d434ad7f0d057456631ac786ed338c84a7f41 (diff) | |
merged with new eslint code
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 { |
