not sure we need this, but adding the padding in _offset container

This commit is contained in:
Bruno Windels 2019-01-08 18:17:00 +01:00
parent 0c364510ef
commit 8352d8c6bd

View file

@ -66,7 +66,7 @@ class RoomDistributor {
_contentSize(item) { _contentSize(item) {
const scrollItem = item.domNode.querySelector(".mx_RoomSubList_scroll"); const scrollItem = item.domNode.querySelector(".mx_RoomSubList_scroll");
const headerHeight = item.size() - scrollItem.offsetHeight; const headerHeight = item.size() - scrollItem.offsetHeight;
return headerHeight + scrollItem.scrollHeight; return headerHeight + scrollItem.scrollHeight + 4;
} }
resize(size) { resize(size) {