Add spacing to sidebar demo
This commit is contained in:
parent
4e55653564
commit
1ca299fe18
1 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue