Icon Picker: Fit icons scroll container to modal height (#20438)
* Fill height and align icons to top * Auto scrollbar instead * Auto height of grid rows * Enforce scroll again
This commit is contained in:
committed by
GitHub
parent
99c2aaf17a
commit
fd34ce5bd7
@@ -190,7 +190,10 @@ export class UmbIconPickerModalElement extends UmbModalBaseElement<UmbIconPicker
|
||||
line-height: 0;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(40px, calc((100% / 12) - 10px)));
|
||||
grid-auto-rows: min-content;
|
||||
gap: 10px;
|
||||
height: 100%;
|
||||
align-items: flex-start;
|
||||
overflow-y: scroll;
|
||||
max-height: 100%;
|
||||
min-height: 0;
|
||||
|
||||
Reference in New Issue
Block a user