Skip to content

Commit

Permalink
chore: Replace line-height by padding-block-end
Browse files Browse the repository at this point in the history
  • Loading branch information
georgylobko committed Jan 27, 2025
1 parent 4ca1077 commit d243168
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/popover/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ $trigger-underline-offset: 0.25em;

&.overflow-ellipsis {
/*
This line-height needs to be overridden because the overflow: hidden would otherwise conceal the underline styles.
This style needs because of the overflow: hidden would otherwise conceal the underline styles.
*/
line-height: calc(1 + #{$trigger-underline-offset} + #{awsui.$border-divider-list-width});
padding-block-end: calc(#{$trigger-underline-offset} + #{awsui.$border-divider-list-width});
}
}

Expand Down

0 comments on commit d243168

Please sign in to comment.