Only style as grid if sidebar is present
This commit is contained in:
parent
345de45420
commit
2f60450805
|
@ -2,7 +2,7 @@ body {
|
||||||
max-width: 55em;
|
max-width: 55em;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.wrapper {
|
div.wrapper:has(div.sidebar) {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: auto 15em;
|
grid-template-columns: auto 15em;
|
||||||
column-gap: 60px;
|
column-gap: 60px;
|
||||||
|
|
Loading…
Reference in a new issue