mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 06:58:25 +00:00
not sure we need this, but adding the padding in _offset container
This commit is contained in:
+1
-1
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user