Prevent programmatic scrolling within truncated room sublists (#7191)

This commit is contained in:
Michael Telatynski 2021-11-23 18:39:36 +00:00 committed by GitHub
parent 08cd8926e6
commit 7f350ae0f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -187,6 +187,7 @@ limitations under the License.
.mx_RoomSublist_tiles { .mx_RoomSublist_tiles {
flex: 1 0 0; flex: 1 0 0;
overflow: hidden; overflow: hidden;
overflow: clip;
// need this to be flex otherwise the overflow hidden from above // need this to be flex otherwise the overflow hidden from above
// sometimes vertically centers the clipped list ... no idea why it would do this // sometimes vertically centers the clipped list ... no idea why it would do this
// as the box model should be top aligned. Happens in both FF and Chromium // as the box model should be top aligned. Happens in both FF and Chromium