Fix autocomplete not having y-scroll
After changing flex-order the children did not have a max-height which ended up in the child growing to outside of the screen instead of being properly constrained. Fix https://github.com/vector-im/element-web/issues/18997
This commit is contained in:
parent
a5e2877862
commit
cb6368f885
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,6 @@
|
||||||
background: $background;
|
background: $background;
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
border-radius: 8px 8px 0 0;
|
border-radius: 8px 8px 0 0;
|
||||||
max-height: 35vh;
|
|
||||||
overflow: clip;
|
overflow: clip;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
@ -64,6 +63,7 @@
|
||||||
margin: 12px;
|
margin: 12px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
|
max-height: 35vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_Autocomplete_Completion_container_truncate {
|
.mx_Autocomplete_Completion_container_truncate {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue