Fix tag height (#1515)

This commit is contained in:
toasted-nutbread 2021-03-10 20:27:06 -05:00 committed by GitHub
parent 800ce9ed9e
commit 5fe40d7ec4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -718,7 +718,7 @@ button.action-button[data-icon=source-term]::before {
border: none; border: none;
border-right: none; border-right: none;
font-size: 1em; font-size: 1em;
height: var(--tag-height); min-height: var(--tag-height);
margin: calc(1em / var(--font-size-no-units)) 0.375em calc(1em / var(--font-size-no-units)) 0; margin: calc(1em / var(--font-size-no-units)) 0.375em calc(1em / var(--font-size-no-units)) 0;
} }
.tag-label { .tag-label {
@ -1201,6 +1201,7 @@ button.action-button[data-icon=source-term]::before {
:root[data-frequency-display-mode=split-tags] .frequency-group-tag { :root[data-frequency-display-mode=split-tags] .frequency-group-tag {
margin: 0; margin: 0;
display: inline; display: inline;
min-height: auto;
} }
:root[data-frequency-display-mode=tags] .frequency-group-tag>.tag-label, :root[data-frequency-display-mode=tags] .frequency-group-tag>.tag-label,
:root[data-frequency-display-mode=split-tags] .frequency-group-tag>.tag-label { :root[data-frequency-display-mode=split-tags] .frequency-group-tag>.tag-label {
@ -1225,6 +1226,7 @@ button.action-button[data-icon=source-term]::before {
:root[data-frequency-display-mode=split-tags-grouped] .frequency-tag { :root[data-frequency-display-mode=split-tags-grouped] .frequency-tag {
margin: 0; margin: 0;
display: inline; display: inline;
min-height: auto;
} }
:root[data-frequency-display-mode=list] .frequency-tag>.tag-label, :root[data-frequency-display-mode=list] .frequency-tag>.tag-label,
:root[data-frequency-display-mode=inline-list] .frequency-tag>.tag-label, :root[data-frequency-display-mode=inline-list] .frequency-tag>.tag-label,
@ -1314,6 +1316,7 @@ button.action-button[data-icon=source-term]::before {
} }
:root[data-frequency-display-mode=list] .frequency-group-tag { :root[data-frequency-display-mode=list] .frequency-group-tag {
display: block; display: block;
min-height: auto;
} }
:root[data-frequency-display-mode=list] .frequency-group-tag>.tag-label { :root[data-frequency-display-mode=list] .frequency-group-tag>.tag-label {
display: inline-flex; display: inline-flex;