mirror of
https://github.com/discourse/discourse-category-banners
synced 2025-03-09 13:02:25 +00:00
FIX: Declare logo margin only when image is shown
This commit is contained in:
parent
ae1f9dcf4c
commit
2a9585c4e4
@ -18,11 +18,14 @@ body:not(.category-header) {
|
||||
.category-logo {
|
||||
grid-area: logo;
|
||||
align-self: center;
|
||||
margin: 0 1em 0 0;
|
||||
--max-height: 8em;
|
||||
margin: 0 1em 0 0;
|
||||
@include breakpoint(tablet) {
|
||||
margin: 0 0 0.5em;
|
||||
}
|
||||
&:not(:has(img)) {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
.category-title {
|
||||
grid-area: title;
|
||||
|
Loading…
x
Reference in New Issue
Block a user