summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-03-06 15:08:21 -0500
committerGitHub <noreply@github.com>2021-03-06 15:08:21 -0500
commitaa6a547da7a74e28dc290d8bef9f33500b82cd13 (patch)
tree4730b0ee054611d0bc008fcc2fb89511749392be /ext
parent01f74510f011e54d452e8fce2b9221b0af942911 (diff)
Add CSS variable to control tag height (#1495)
Diffstat (limited to 'ext')
-rw-r--r--ext/css/display.css3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/css/display.css b/ext/css/display.css
index 61198979..a7acd440 100644
--- a/ext/css/display.css
+++ b/ext/css/display.css
@@ -78,6 +78,8 @@
--entry-current-indicator-width: calc(1em * var(--entry-current-indicator-width-no-units) / var(--font-size-no-units));
--entry-current-indicator-transition-duration: 0.125s;
+ --tag-height-no-units: 20;
+ --tag-height: calc(1em * var(--tag-height-no-units) / var(--font-size-no-units));
--tag-font-size-no-units: 11;
--tag-font-size: calc(1em * var(--tag-font-size-no-units) / var(--font-size-no-units));
--tag-border-size-no-units: 1;
@@ -716,6 +718,7 @@ button.action-button[data-icon=source-term]::before {
border: none;
border-right: none;
font-size: 1em;
+ height: var(--tag-height);
margin: calc(1em / var(--font-size-no-units)) 0.375em calc(1em / var(--font-size-no-units)) 0;
}
.tag-label {