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:
Dariusz Niemczyk 2021-09-14 14:45:47 +02:00
parent 6249a1be5f
commit 527e1eb462
No known key found for this signature in database
GPG key ID: 3E8DC619E3C59A05

View file

@ -7,7 +7,6 @@
background: $background;
border-bottom: none;
border-radius: 8px 8px 0 0;
max-height: 35vh;
overflow: clip;
display: flex;
flex-direction: column;
@ -64,6 +63,7 @@
margin: 12px;
height: 100%;
overflow-y: scroll;
max-height: 35vh;
}
.mx_Autocomplete_Completion_container_truncate {