UX: Use uniform style for tag counts (#11743)

This commit is contained in:
Penar Musaraj 2021-01-18 15:11:23 -05:00 committed by GitHub
parent ea8b5c18db
commit 670b438ca5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 16 deletions

View File

@ -63,8 +63,6 @@
.discourse-tag-count { .discourse-tag-count {
font-size: $font-down-1; font-size: $font-down-1;
color: var(--primary-medium); color: var(--primary-medium);
line-height: $line-height-small;
vertical-align: middle;
} }
.discourse-tag { .discourse-tag {

View File

@ -46,10 +46,6 @@
&.is-highlighted.is-selected { &.is-highlighted.is-selected {
background: var(--tertiary-low); background: var(--tertiary-low);
} }
.discourse-tag-count {
margin-left: 0.5em;
}
} }
.selected-tags { .selected-tags {

View File

@ -171,8 +171,7 @@
.discourse-tag, .discourse-tag,
.discourse-tag:visited, .discourse-tag:visited,
.discourse-tag:hover, .discourse-tag:hover {
.discourse-tag-count {
color: var(--primary-high); color: var(--primary-high);
} }

View File

@ -1,13 +1,13 @@
.select-kit { .select-kit {
&.multi-select { &.tag-chooser,
&.tag-chooser { &.mini-tag-chooser,
.select-kit-row { &.tag-drop {
display: flex; .select-kit-row {
align-items: center; display: flex;
align-items: baseline;
.discourse-tag-count { .discourse-tag-count {
margin-left: 5px; margin-left: 5px;
}
} }
} }
} }