Skip to content

Commit 185550d

Browse files
committed
fix: change units of max content width from vw to %
This is necessary to correctly calculate the width of the content container.
1 parent 3d172d3 commit 185550d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/frontend/styles/layout.pcss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
@media (--desktop) {
3131
max-width: min(
3232
calc(var(--layout-width-main-col) + var(--max-space-between-cols) + var(--layout-sidebar-width)),
33-
calc(100vw - var(--layout-sidebar-width))
33+
calc(100% - var(--layout-sidebar-width))
3434
);
3535
margin-left: max(var(--main-col-min-margin-left), calc(50vw - var(--layout-sidebar-width) - var(--layout-width-main-col) / 2) - var(--layout-padding-horizontal));
3636
margin-right: auto;

0 commit comments

Comments
 (0)