UX: Improve tag and assign display in search (#12039)

This commit is contained in:
Kris 2021-02-11 13:41:43 -05:00 committed by GitHub
parent eec093918f
commit 04d0bf9c4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View File

@ -68,8 +68,11 @@
align-items: center; align-items: center;
.discourse-tags { .discourse-tags {
display: flex;
flex-wrap: wrap; flex-wrap: wrap;
display: contents; .discourse-tag {
margin-right: 0.25em;
}
} }
} }

View File

@ -129,7 +129,7 @@
.discourse-tags, .discourse-tags,
.list-tags, .list-tags,
.search-category { .search-category {
.discourse-tag.simple:not(:last-of-type):after { .discourse-tag.simple:not(:last-child):after {
content: ", "; content: ", ";
margin-left: 1px; margin-left: 1px;
} }

View File

@ -207,7 +207,6 @@
.discourse-tags { .discourse-tags {
flex-wrap: wrap; flex-wrap: wrap;
display: contents;
font-size: $font-down-1; font-size: $font-down-1;
} }
} }