mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 01:35:49 +03:00
fix room lists growing taller than screen height in FF
sections with flex-basis don't seem to shrink smaller in FF, so use flexGrow which is unitless/proportional but works as well
This commit is contained in:
parent
f42ab32e05
commit
5c843acc10
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ const RoomSubList = React.createClass({
|
|||
} else {
|
||||
const heightEstimation = (len * 40) + 31;
|
||||
const style = {
|
||||
flexBasis: `${heightEstimation}px`,
|
||||
flexGrow: `${heightEstimation}`,
|
||||
maxHeight: `${heightEstimation}px`,
|
||||
};
|
||||
const GeminiScrollbarWrapper = sdk.getComponent("elements.GeminiScrollbarWrapper");
|
||||
|
|
Loading…
Reference in a new issue