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

This commit is contained in:
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); 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 { .mx_RoomSublist_resizerHandles_showNButton {
flex: 0 0 32px; flex: 0 0 32px;
} }

View file

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