1
Fork 0

Add spacing to sidebar demo

This commit is contained in:
Jake Howard 2024-08-15 08:49:16 +01:00
parent 4e55653564
commit 1ca299fe18
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -60,10 +60,10 @@ main {
.content-wrapper {
display: grid;
width: $content-width * (1 + $bleed-ratio);
max-width: 100vw;
max-width: 100%;
grid-template-columns:
1fr
min($content-width, 100vw)
min($content-width, 100%)
1fr;
& > * {
@ -99,6 +99,7 @@ main {
main {
flex-direction: column-reverse;
align-items: center;
padding: 0 1rem;
}
.spacer {
@ -108,7 +109,8 @@ main {
.sidebar {
flex-basis: unset;
width: $content-width;
max-width: 100vw;
max-width: 100%;
min-width: unset;
.sidebar-inner {
position: unset;