Clamped story meta to a maximum width of the view port width

This commit is contained in:
Alvaro 2022-09-23 07:39:00 -06:00 committed by GitHub
parent a7253be213
commit 0524a00471
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 {