Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 97ee251

Browse files
authored
Fix favourite & people metaspace issue on Chromium browsers (#7301)
1 parent 38e5e94 commit 97ee251

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

res/css/views/rooms/_RoomSublist.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,11 @@ limitations under the License.
198198
mask-image: linear-gradient(0deg, transparent, black 4px);
199199
}
200200

201+
&.mx_RoomSublist_resizeBox_forceExpanded .mx_RoomSublist_tiles {
202+
// in this state the div can collapse its height entirely in Chromium, so prevent that by allowing overflow
203+
overflow: visible;
204+
}
205+
201206
.mx_RoomSublist_resizerHandles_showNButton {
202207
flex: 0 0 32px;
203208
}

src/components/views/rooms/RoomSublist.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ export default class RoomSublist extends React.Component<IProps, IState> {
738738

739739
let content = null;
740740
if (visibleTiles.length > 0 && this.props.forceExpanded) {
741-
content = <div className="mx_RoomSublist_resizeBox">
741+
content = <div className="mx_RoomSublist_resizeBox mx_RoomSublist_resizeBox_forceExpanded">
742742
<div className="mx_RoomSublist_tiles" ref={this.tilesRef}>
743743
{ visibleTiles }
744744
</div>

0 commit comments

Comments
 (0)