FIX: Declare logo margin only when image is shown

This commit is contained in:
Manuel 2025-02-13 10:00:55 +00:00
parent ae1f9dcf4c
commit 2a9585c4e4

View File

@ -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;