UX: Fix bar-style category dropdown (#14785)

This commit is contained in:
Penar Musaraj 2021-11-01 11:17:41 -04:00 committed by GitHub
parent 44b3b614bd
commit 116b93595a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 7 deletions

View File

@ -116,7 +116,7 @@
span.badge-category { span.badge-category {
color: var(--primary-high); color: var(--primary-high);
padding: 1px 3px; padding-left: 4px;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
@ -127,9 +127,9 @@
.badge-category-parent-bg, .badge-category-parent-bg,
.badge-category-bg { .badge-category-bg {
// Subcategories
display: inline-block; display: inline-block;
padding: 0 1px; padding-left: 1px;
padding-right: 1px;
&:before { &:before {
content: "\a0"; content: "\a0";

View File

@ -19,10 +19,6 @@
} }
} }
&.bar.has-selection .category-drop-header {
padding: 0 5px 0 10px;
}
&.box.has-selection .category-drop-header { &.box.has-selection .category-drop-header {
.badge-wrapper.box { .badge-wrapper.box {
padding: 0; padding: 0;