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 Nov 28, 2023
1 parent b7e261e commit af513e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion generator/_assets/styles/less/header.less
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
flex-direction: column;
background: #FFFFFF;
z-index: 10;
width: ~"calc(433px + (243 - 433) / (320 - 1023) * (100vw - 1023px))";
width: clamp(243px, 50%, 433px);
min-width: 24.3rem;
order: 10;
right: 0;
Expand Down
2 changes: 1 addition & 1 deletion generator/_assets/styles/less/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
@desktop-wide-down: ~'(max-width: 1439px)';
@desktop-down: ~'(max-width: 1279px)';
@tablet-down: ~'(max-width: 1023px)';
@phone-down: ~'(max-width: 589px)';
@phone-down: ~'(max-width: 589px)';

0 comments on commit af513e4

Please sign in to comment.