You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user