mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 06:58:25 +00:00
try flex-basis for resizing
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ import {Sizer} from "./sizer";
|
|||||||
|
|
||||||
class RoomSizer extends Sizer {
|
class RoomSizer extends Sizer {
|
||||||
setItemSize(item, size) {
|
setItemSize(item, size) {
|
||||||
item.style.maxHeight = `${Math.round(size)}px`;
|
item.style.flexBasis = `${Math.round(size)}px`;
|
||||||
item.classList.add("resized-sized");
|
item.classList.add("resized-sized");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user