diff --git a/res/css/views/settings/tabs/room/_SecurityRoomSettingsTab.scss b/res/css/views/settings/tabs/room/_SecurityRoomSettingsTab.scss index c142653490..cf3e16bc04 100644 --- a/res/css/views/settings/tabs/room/_SecurityRoomSettingsTab.scss +++ b/res/css/views/settings/tabs/room/_SecurityRoomSettingsTab.scss @@ -16,24 +16,12 @@ limitations under the License. .mx_SecurityRoomSettingsTab { .mx_SettingsTab_showAdvanced { - padding: 0; - margin-bottom: 16px; + margin-bottom: $spacing-16; + } + + .mx_SecurityRoomSettingsTab_warning { + display: flex; + align-items: center; + column-gap: $spacing-4; } } - -.mx_SecurityRoomSettingsTab_warning { - display: block; - - img { - vertical-align: middle; - margin-right: 5px; - margin-left: 3px; - margin-bottom: 5px; - } -} - -.mx_SecurityRoomSettingsTab_encryptionSection { - padding-bottom: 24px; - border-bottom: 1px solid $quinary-content; - margin-bottom: 32px; -} diff --git a/src/components/views/settings/tabs/room/SecurityRoomSettingsTab.tsx b/src/components/views/settings/tabs/room/SecurityRoomSettingsTab.tsx index abbd836e90..14a937c5f6 100644 --- a/src/components/views/settings/tabs/room/SecurityRoomSettingsTab.tsx +++ b/src/components/views/settings/tabs/room/SecurityRoomSettingsTab.tsx @@ -355,7 +355,7 @@ export default class SecurityRoomSettingsTab extends React.Component + return <> - ; + ; } render() { @@ -391,7 +391,7 @@ export default class SecurityRoomSettingsTab extends React.Component +
{ this.state.showAdvancedSection && this.renderAdvanced() } - +
); }