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 {
font-size: $font-down-1;
color: var(--primary-medium);
line-height: $line-height-small;
vertical-align: middle;
}
.discourse-tag {

View File

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

View File

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

View File

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