Skip to content

Commit

Permalink
Clamped story meta to a maximum width of the view port width
Browse files Browse the repository at this point in the history
  • Loading branch information
alvaro-signal committed Sep 23, 2022
1 parent a7253be commit 0524a00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stylesheets/components/StoryViewer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
padding: 0 16px;
position: absolute;
transform: translateX(-50%);
width: 56.25vh;
width: clamp(0vh, 56.25vh, 100vw);
z-index: $z-index-story-meta;

&__list {
Expand Down

0 comments on commit 0524a00

Please sign in to comment.