From dfdba46d576ecdc39875a2751eb1f57c394bd26e Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Mon, 13 Jun 2022 15:30:07 +0000 Subject: [PATCH] Remove _NotificationUserSettingsTab.scss (#8831) --- res/css/_components.scss | 1 - .../user/_NotificationUserSettingsTab.scss | 19 ------------------- .../tabs/user/NotificationUserSettingsTab.tsx | 2 +- 3 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 res/css/views/settings/tabs/user/_NotificationUserSettingsTab.scss diff --git a/res/css/_components.scss b/res/css/_components.scss index a8463cf62b..566122a682 100644 --- a/res/css/_components.scss +++ b/res/css/_components.scss @@ -310,7 +310,6 @@ @import "./views/settings/tabs/user/_KeyboardUserSettingsTab.scss"; @import "./views/settings/tabs/user/_LabsUserSettingsTab.scss"; @import "./views/settings/tabs/user/_MjolnirUserSettingsTab.scss"; -@import "./views/settings/tabs/user/_NotificationUserSettingsTab.scss"; @import "./views/settings/tabs/user/_PreferencesUserSettingsTab.scss"; @import "./views/settings/tabs/user/_SecurityUserSettingsTab.scss"; @import "./views/settings/tabs/user/_SidebarUserSettingsTab.scss"; diff --git a/res/css/views/settings/tabs/user/_NotificationUserSettingsTab.scss b/res/css/views/settings/tabs/user/_NotificationUserSettingsTab.scss deleted file mode 100644 index b57c46a1d9..0000000000 --- a/res/css/views/settings/tabs/user/_NotificationUserSettingsTab.scss +++ /dev/null @@ -1,19 +0,0 @@ -/* -Copyright 2019 New Vector Ltd - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -.mx_NotificationUserSettingsTab .mx_SettingsTab_heading { - margin-bottom: 10px; // Give some spacing between the title and the first elements -} diff --git a/src/components/views/settings/tabs/user/NotificationUserSettingsTab.tsx b/src/components/views/settings/tabs/user/NotificationUserSettingsTab.tsx index b49cf3920e..8b6c26cb7e 100644 --- a/src/components/views/settings/tabs/user/NotificationUserSettingsTab.tsx +++ b/src/components/views/settings/tabs/user/NotificationUserSettingsTab.tsx @@ -22,7 +22,7 @@ import Notifications from "../../Notifications"; export default class NotificationUserSettingsTab extends React.Component { render() { return ( -
+
{ _t("Notifications") }