Fixing category title with logo image layout

This commit is contained in:
Kris 2018-02-27 10:46:21 -05:00
parent c22e56499a
commit 96b4617094
2 changed files with 4 additions and 10 deletions

View File

@ -32,12 +32,13 @@
.category-list { .category-list {
.category-name { .category-name {
display: block; display: inline-block;
max-width: 35vw; max-width: 30vw;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
vertical-align: text-bottom;
@media screen and (max-width: 630px) { @media screen and (max-width: 630px) {
max-width: 75vw; //single-column max-width: 65vw; //single-column
} }
} }
&.with-topics { &.with-topics {

View File

@ -1,10 +1,3 @@
.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;