fix(ui): prevent dropdown clipping with fixed positioning
Automatically use fixed dropdown strategy for TagsSelect inside modals Dynamically calculate fixed coordinates for Pokemon fetch results dropdown
This commit is contained in:
@@ -796,12 +796,12 @@ button:disabled,
|
||||
}
|
||||
|
||||
.pokemon-fetch-results {
|
||||
position: absolute;
|
||||
top: calc(100% + 6px);
|
||||
right: 0;
|
||||
left: 0;
|
||||
z-index: 35;
|
||||
max-height: 260px;
|
||||
position: fixed;
|
||||
top: auto;
|
||||
right: auto;
|
||||
left: auto;
|
||||
z-index: 80;
|
||||
max-height: var(--pokemon-fetch-results-max-height, 260px);
|
||||
overflow-y: auto;
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
|
||||
Reference in New Issue
Block a user