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

Commit

Permalink
Scope compact layout
Browse files Browse the repository at this point in the history
  • Loading branch information
su-ex committed Jun 13, 2021
1 parent 029a1bb commit 2359f6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion res/css/views/rooms/_GroupLayout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ $left-gutter: 64px;

/* Compact layout overrides */

.mx_MatrixChat_useCompactLayout {
.mx_MatrixChat_useCompactLayout .mx_MatrixChat_useCompactLayout {
.mx_EventTile {
padding-top: 4px;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ export default class AppearanceUserSettingsTab extends React.Component<IProps, I
name="useCompactLayout"
level={SettingLevel.DEVICE}
useCheckbox={true}
disabled={this.state.layout == Layout.IRC}
disabled={this.state.layout !== Layout.Group}
/>
{ SettingsStore.getValue("feature_new_layout_switcher") ?
<SettingsFlag
Expand Down

0 comments on commit 2359f6a

Please sign in to comment.