summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-02-23 18:42:04 -0500
committerGitHub <noreply@github.com>2021-02-23 18:42:04 -0500
commit0a76de1b44443cc668882125d73d83d5f7ba8a63 (patch)
treeeea4278b00388dbfa086627123b10918434e2f3a /ext
parent28585e6ec6b612a1586039e4b74f61cc2a655467 (diff)
Update tag styles (#1437)
Diffstat (limited to 'ext')
-rw-r--r--ext/css/display.css5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/css/display.css b/ext/css/display.css
index ba20838c..053e457c 100644
--- a/ext/css/display.css
+++ b/ext/css/display.css
@@ -69,6 +69,7 @@
--tag-border-size: calc(1em * (var(--tag-border-size-no-units) / var(--font-size-no-units)));
--tag-border-style: solid;
--tag-font-weight: bold;
+ --tag-border-radius: 0.25em;
--compact-list-separator: ' | ';
--list-padding1: 1.4em;
@@ -690,7 +691,7 @@ button.action-button[data-icon=source-term]::before {
flex-flow: row nowrap;
align-items: center;
background-color: var(--tag-color);
- border-radius: 0.25em;
+ border-radius: var(--tag-border-radius);
padding: calc(2.5em / var(--font-size-no-units)) 0.375em calc(2.5em / var(--font-size-no-units)) 0.375em;
color: var(--tag-text-color);
cursor: pointer;
@@ -713,7 +714,7 @@ button.action-button[data-icon=source-term]::before {
top: 0;
bottom: 0;
right: 0;
- border-radius: 0.25em;
+ border-radius: var(--tag-border-radius);
border: var(--tag-border-size) var(--tag-border-style) var(--tag-color);
border-left: none;
border-top-left-radius: 0;