Fix for categories with icons not wrapping properly

This commit is contained in:
Kris 2018-02-26 16:59:10 -05:00
parent 8f27456acb
commit 382dbfbb8a
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
.category-list {
.category-title-link {
display: inline-flex;
align-items: baseline;
}
}
.category-boxes, .category-boxes-with-topics { .category-boxes, .category-boxes-with-topics {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;

View File

@ -25,13 +25,13 @@
.badge-category { .badge-category {
display: inline-flex; display: inline-flex;
align-items: baseline;
.category-name { .category-name {
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
} }
.d-icon { .d-icon {
margin-right: 3px; margin-right: 3px;
line-height: $line-height-large;
} }
} }