mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-07-18 20:59:42 +02:00
fix: change units of max content width from vw to %
This is necessary to correctly calculate the width of the content container.
This commit is contained in:
parent
3d172d3021
commit
185550dd08
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
|||
@media (--desktop) {
|
||||
max-width: min(
|
||||
calc(var(--layout-width-main-col) + var(--max-space-between-cols) + var(--layout-sidebar-width)),
|
||||
calc(100vw - var(--layout-sidebar-width))
|
||||
calc(100% - var(--layout-sidebar-width))
|
||||
);
|
||||
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));
|
||||
margin-right: auto;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue