Skip to content

Commit cb6368f

Browse files
Dariusz Niemczykdbkr
authored andcommitted
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 element-hq/element-web#18997
1 parent a5e2877 commit cb6368f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

res/css/views/rooms/_Autocomplete.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
background: $background;
88
border-bottom: none;
99
border-radius: 8px 8px 0 0;
10-
max-height: 35vh;
1110
overflow: clip;
1211
display: flex;
1312
flex-direction: column;
@@ -64,6 +63,7 @@
6463
margin: 12px;
6564
height: 100%;
6665
overflow-y: scroll;
66+
max-height: 35vh;
6767
}
6868

6969
.mx_Autocomplete_Completion_container_truncate {

0 commit comments

Comments
 (0)