Skip to content

Commit

Permalink
fix issue with calc in less
Browse files Browse the repository at this point in the history
Ticket: ENT-9757
Changelog: None
Signed-off-by: Mikita Pilinka <[email protected]>
  • Loading branch information
mineralsfree committed Dec 7, 2023
1 parent b7e261e commit be9bac2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions generator/_assets/styles/less/header.less
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@
flex-direction: column;
background: #FFFFFF;
z-index: 10;
width: ~"calc(433px + (243 - 433) / (320 - 1023) * (100vw - 1023px))";
min-width: 24.3rem;
width: clamp(24.3rem, 50%, 43.3rem);
order: 10;
right: 0;
position: fixed;
Expand Down

0 comments on commit be9bac2

Please sign in to comment.