Skip to content

Commit

Permalink
fix: force dropdown bib min-width to not expand outside container #225
Browse files Browse the repository at this point in the history
  • Loading branch information
rmenner committed Dec 17, 2024
1 parent 42f20ac commit b3c5eb8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
@import './../node_modules/@aurodesignsystem/webcorestylesheets/src/core';
@import './../node_modules/@aurodesignsystem/webcorestylesheets/src/utilityClasses/displayProperties';

/* stylelint-disable selector-class-pattern */
/* stylelint-disable selector-class-pattern, declaration-no-important */

[slot='trigger'] {
width: 100%;
Expand All @@ -36,6 +36,7 @@
}

&::part(popover) {
min-width: 100% !important;
max-width: -webkit-fill-available;
overflow-y: scroll;
}
Expand Down

0 comments on commit b3c5eb8

Please sign in to comment.