diff options
Diffstat (limited to 'ext/css')
-rw-r--r-- | ext/css/display.css | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/css/display.css b/ext/css/display.css index b8f67ff9..b46540c7 100644 --- a/ext/css/display.css +++ b/ext/css/display.css @@ -1573,6 +1573,7 @@ button.definition-item-expansion-button:focus:focus-visible+.definition-item-con color: inherit; display: inline-block; position: relative; + line-height: 1; } .gloss-image-link[href]:hover { cursor: pointer; @@ -1631,6 +1632,7 @@ button.definition-item-expansion-button:focus:focus-visible+.definition-item-con } .gloss-image-link-text { display: none; + line-height: var(--line-height); } .gloss-image-link-text::before { content: '['; @@ -1643,6 +1645,10 @@ button.definition-item-expansion-button:focus:focus-visible+.definition-item-con white-space: pre-line; } +.gloss-image-link[data-size-units=em] .gloss-image-container { + font-size: 1em; +} + .gloss-image-link[data-vertical-align=baseline] { vertical-align: baseline; } .gloss-image-link[data-vertical-align=sub] { vertical-align: sub; } .gloss-image-link[data-vertical-align=super] { vertical-align: super; } |