SyncMadeEasy/force-app/main/default/staticresources/comboboxDropdownScroll.css

8 lines
362 B
CSS

/* DISPLAY-ONLY: caps lightning-combobox dropdown lists to ~3 rows and makes
the rest scrollable, instead of the list growing beyond the container.
Loaded via loadStyle() from the home LWC (store-selection modal). */
.slds-dropdown {
max-height: 6.5rem !important; /* ~3 option rows, stays inside the modal card */
overflow-y: auto !important;
}