Skip to content

Commit

Permalink
Allow resizing preview vierport in style guide
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota committed Nov 7, 2023
1 parent 630521a commit 84cbdeb
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions _sass/pages/_styleguide.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@
border-radius: 0.425rem;
padding: var(--padding-sm);

&.wide {
max-width: unset;
max-width: unset;

&:not(.wide) {
width: var(--content-width);
}
}

Expand All @@ -23,3 +25,8 @@
}
}
}

.styleguide-preview {
resize: both;
overflow: scroll;
}

0 comments on commit 84cbdeb

Please sign in to comment.