Fix favourite & people metaspace issue on Chromium browsers (#7301)

pull/21833/head
Michael Telatynski 2021-12-07 15:54:30 +00:00 committed by GitHub
parent 38e5e94ee4
commit 97ee25126f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -198,6 +198,11 @@ limitations under the License.
mask-image: linear-gradient(0deg, transparent, black 4px);
}
&.mx_RoomSublist_resizeBox_forceExpanded .mx_RoomSublist_tiles {
// in this state the div can collapse its height entirely in Chromium, so prevent that by allowing overflow
overflow: visible;
}
.mx_RoomSublist_resizerHandles_showNButton {
flex: 0 0 32px;
}

View File

@ -738,7 +738,7 @@ export default class RoomSublist extends React.Component<IProps, IState> {
let content = null;
if (visibleTiles.length > 0 && this.props.forceExpanded) {
content = <div className="mx_RoomSublist_resizeBox">
content = <div className="mx_RoomSublist_resizeBox mx_RoomSublist_resizeBox_forceExpanded">
<div className="mx_RoomSublist_tiles" ref={this.tilesRef}>
{ visibleTiles }
</div>