Fixing category title with logo image layout
This commit is contained in:
parent
c22e56499a
commit
96b4617094
|
@ -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 {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue