Skip to content

Commit

Permalink
Merge pull request #479 from exadel-inc/tech/website-vh-fix
Browse files Browse the repository at this point in the history
[Tech] Fix usage of vh polyfill on the site instead of dynamic viewport units
  • Loading branch information
ala-n authored Aug 30, 2023
2 parents 7efd8c4 + 3b63f4e commit eecc7de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/website/src/navigation/sidebar/sidebar.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ eak-sidebar {
box-shadow: 0 5px 8px 0 rgba(0, 66, 94, 0.5);
/* stylelint-disable */
height: calc(~'100vh - @{header-height-mobile}');
height: calc(~'var(--100vh, 100vh) - @{header-height-mobile}');
height: calc(~'100dvh - @{header-height-mobile}');
/* stylelint-enable */
max-width: 0;

Expand Down Expand Up @@ -53,7 +53,7 @@ eak-sidebar {
box-shadow: none;
/* stylelint-disable */
height: 100vh;
height: var(--100vh, 100vh);
height: 100dvh;
/* stylelint-enable */
max-width: 72px;

Expand Down
2 changes: 1 addition & 1 deletion docs/website/src/page/base-layout.less
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ body {
width: 100%;
/* stylelint-disable */
height: 100vh;
height: var(--100vh, 100vh);
height: 100dvh;
/* stylelint-enable */
}

Expand Down

0 comments on commit eecc7de

Please sign in to comment.