set sub list height with flex-basis to make it ... well, grow less
This commit is contained in:
parent
d264687796
commit
44b92eb071
3 changed files with 3 additions and 4 deletions
|
@ -99,7 +99,6 @@ class Sizer {
|
|||
|
||||
class FlexSizer extends Sizer {
|
||||
setItemSize(item, size) {
|
||||
item.style.flexGrow = '0';
|
||||
item.style.flexBasis = `${Math.round(size)}px`;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue