diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-06-28 22:12:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-28 22:12:17 -0400 |
commit | 1f1a958a71b44e5c6e0dbc0742e007fa5abeca29 (patch) | |
tree | df6c0f2f770e276936f083688cc4ca9b0601b300 /ext/css/display.css | |
parent | 9f3d267e241bb2886f85d39e5e0e6dde45e6888b (diff) |
Update CSS rules for images (#1777)
Diffstat (limited to 'ext/css/display.css')
-rw-r--r-- | ext/css/display.css | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/css/display.css b/ext/css/display.css index b23ae5e5..c6a39526 100644 --- a/ext/css/display.css +++ b/ext/css/display.css @@ -1128,6 +1128,7 @@ button.action-button[data-icon=source-term]::before { color: var(--text-color-light3); } .gloss-content { + display: block; white-space: pre-line; } .definition-disambiguation-list { @@ -1153,6 +1154,9 @@ button.action-button[data-icon=source-term]::before { opacity: 0; white-space: pre-wrap; } +.gloss-separator { + display: none; +} .definition-item { display: list-item; position: relative; @@ -1170,6 +1174,7 @@ button.action-button[data-icon=source-term]::before { flex-flow: row nowrap; } .definition-item-content { + width: 100%; flex: 1 1 auto; background-color: transparent; transition: background-color var(--animation-duration) ease-in-out; @@ -2006,6 +2011,12 @@ button.footer-notification-close-button { display: inline; color: var(--text-color-light3); } +:root[data-glossary-layout-mode=compact] .gloss-content { + display: inline; +} +:root[data-glossary-layout-mode=compact] .gloss-separator { + display: inline; +} :root[data-show-pitch-accent-downstep-notation=true] .pitch-accent-disambiguation-list[data-term-count='0'], :root[data-show-pitch-accent-downstep-notation=true] .pitch-accent-disambiguation[data-type=reading] { |