try flex-basis for resizing
This commit is contained in:
parent
51376c5c07
commit
68afadd83b
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ import {Sizer} from "./sizer";
|
|||
|
||||
class RoomSizer extends Sizer {
|
||||
setItemSize(item, size) {
|
||||
item.style.maxHeight = `${Math.round(size)}px`;
|
||||
item.style.flexBasis = `${Math.round(size)}px`;
|
||||
item.classList.add("resized-sized");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue