From b3c5eb8bd20c1c14a48f134bc704c797bde0f5db Mon Sep 17 00:00:00 2001 From: rmenner Date: Tue, 17 Dec 2024 16:51:54 -0500 Subject: [PATCH] fix: force dropdown bib min-width to not expand outside container #225 --- package-lock.json | 8 ++++---- src/style.scss | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index ea3e96f..9ba7ccd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@aurodesignsystem/auro-select", - "version": "3.3.0", + "version": "3.3.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@aurodesignsystem/auro-select", - "version": "3.3.0", + "version": "3.3.1", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { @@ -150,8 +150,8 @@ }, "node_modules/@aurodesignsystem/auro-dropdown": { "version": "3.2.1", - "resolved": "https://registry.npmjs.org/@aurodesignsystem/auro-dropdown/-/auro-dropdown-3.2.1.tgz", - "integrity": "sha512-ZvYQq16rMHsrxqLqGXl5GPit/MA0OkGvh4XaIJv9k60SfgWzxWoFcULsnBu/30+LzxI3Uu5ubK+0yCOOJmLHfg==", + "resolved": "file:../../../aurodesignsystem-auro-dropdown-3.2.1.tgz", + "integrity": "sha512-V2nO0b2YMg3b9Lyvl2k62rTQ++Sp1SgJ01aiCvyydbloYXuhp5m4rBWYG3WEUIOkp1ExXsz2ngmpw+KfArg9MQ==", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { diff --git a/src/style.scss b/src/style.scss index f3e0671..78fa5fb 100644 --- a/src/style.scss +++ b/src/style.scss @@ -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%; @@ -36,6 +36,7 @@ } &::part(popover) { + min-width: 100% !important; max-width: -webkit-fill-available; overflow-y: scroll; }