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

Commit

Permalink
Hide room header border in video rooms
Browse files Browse the repository at this point in the history
  • Loading branch information
robintown committed Apr 4, 2022
1 parent 9eef122 commit 8eae0e4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
20 changes: 13 additions & 7 deletions res/css/structures/_RoomView.scss
Original file line number Diff line number Diff line change
Expand Up @@ -213,14 +213,20 @@ hr.mx_RoomView_myReadMarker {
}

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

border-radius: 8px;
.mx_AppTile {
margin: $container-gap-width;
margin-right: calc($container-gap-width / 2);
width: auto;
height: 100%;
padding-top: 33px; // to match the right panel chat heading

border-radius: 8px;
}
}

.mx_RoomView_callStatusBar .mx_UploadBar_uploadProgressInner {
Expand Down
1 change: 1 addition & 0 deletions src/components/structures/RoomView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2099,6 +2099,7 @@ export class RoomView extends React.Component<IRoomProps, IRoomState> {

const mainClasses = classNames("mx_RoomView", {
mx_RoomView_inCall: Boolean(activeCall),
mx_RoomView_immersive: this.state.mainSplitContentType === MainSplitContentType.Video,
});

const showChatEffects = SettingsStore.getValue('showChatEffects');
Expand Down

0 comments on commit 8eae0e4

Please sign in to comment.