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

Commit 8eae0e4

Browse files
committed
Hide room header border in video rooms
1 parent 9eef122 commit 8eae0e4

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

res/css/structures/_RoomView.scss

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -213,14 +213,20 @@ hr.mx_RoomView_myReadMarker {
213213
}
214214

215215
// Immersive widgets
216-
.mx_RoomView_body > .mx_AppTile {
217-
margin: $container-gap-width;
218-
margin-right: calc($container-gap-width / 2);
219-
width: auto;
220-
height: 100%;
221-
padding-top: 33px; // to match the right panel chat heading
216+
.mx_RoomView_immersive {
217+
.mx_RoomHeader_wrapper {
218+
border: unset;
219+
}
222220

223-
border-radius: 8px;
221+
.mx_AppTile {
222+
margin: $container-gap-width;
223+
margin-right: calc($container-gap-width / 2);
224+
width: auto;
225+
height: 100%;
226+
padding-top: 33px; // to match the right panel chat heading
227+
228+
border-radius: 8px;
229+
}
224230
}
225231

226232
.mx_RoomView_callStatusBar .mx_UploadBar_uploadProgressInner {

src/components/structures/RoomView.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2099,6 +2099,7 @@ export class RoomView extends React.Component<IRoomProps, IRoomState> {
20992099

21002100
const mainClasses = classNames("mx_RoomView", {
21012101
mx_RoomView_inCall: Boolean(activeCall),
2102+
mx_RoomView_immersive: this.state.mainSplitContentType === MainSplitContentType.Video,
21022103
});
21032104

21042105
const showChatEffects = SettingsStore.getValue('showChatEffects');

0 commit comments

Comments
 (0)