Skip to content

Commit

Permalink
fix: Sass incompatible units
Browse files Browse the repository at this point in the history
  • Loading branch information
georgylobko committed Jan 27, 2025
1 parent c357e20 commit 92abd47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/popover/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
SPDX-License-Identifier: Apache-2.0
*/

@use 'sass:string';
@use '../internal/styles' as styles;
@use '../internal/styles/tokens' as awsui;
@use '@cloudscape-design/component-toolkit/internal/focus-visible' as focus-visible;
Expand Down Expand Up @@ -52,7 +53,7 @@ $trigger-underline-offset: 0.25em;
/*
This line-height needs to be overridden because the overflow: hidden would otherwise conceal the underline styles.
*/
line-height: calc(1 + #{$trigger-underline-offset} + #{awsui.$border-divider-list-width});
line-height: string.unquote('calc(1 + #{$trigger-underline-offset} + #{awsui.$border-divider-list-width})');
}
}

Expand Down

0 comments on commit 92abd47

Please sign in to comment.