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
pull/21833/head
Bruno Windels 2018-10-22 11:16:33 +02:00
parent f42ab32e05
commit 5c843acc10
1 changed files with 1 additions and 1 deletions

View File

@ -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");