Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Fix autocomplete not having y-scroll
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Dariusz Niemczyk committed Sep 14, 2021
1 parent 6249a1b commit 527e1eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion res/css/views/rooms/_Autocomplete.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -64,6 +63,7 @@
margin: 12px;
height: 100%;
overflow-y: scroll;
max-height: 35vh;
}

.mx_Autocomplete_Completion_container_truncate {
Expand Down

0 comments on commit 527e1eb

Please sign in to comment.