mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
not sure we need this, but adding the padding in _offset container
This commit is contained in:
parent
0c364510ef
commit
8352d8c6bd
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class RoomDistributor {
|
|||
_contentSize(item) {
|
||||
const scrollItem = item.domNode.querySelector(".mx_RoomSubList_scroll");
|
||||
const headerHeight = item.size() - scrollItem.offsetHeight;
|
||||
return headerHeight + scrollItem.scrollHeight;
|
||||
return headerHeight + scrollItem.scrollHeight + 4;
|
||||
}
|
||||
|
||||
resize(size) {
|
||||
|
|
Loading…
Reference in a new issue