From 0a76de1b44443cc668882125d73d83d5f7ba8a63 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Tue, 23 Feb 2021 18:42:04 -0500 Subject: Update tag styles (#1437) --- ext/css/display.css | 5 +++-- 1 file 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; -- cgit v1.2.3