mirror of https://github.com/vector-im/riot-web
Put a little padding between section headings
parent
f050323f98
commit
4d0a246629
|
@ -142,6 +142,7 @@
|
||||||
@import "./views/settings/tabs/_GeneralRoomSettingsTab.scss";
|
@import "./views/settings/tabs/_GeneralRoomSettingsTab.scss";
|
||||||
@import "./views/settings/tabs/_GeneralUserSettingsTab.scss";
|
@import "./views/settings/tabs/_GeneralUserSettingsTab.scss";
|
||||||
@import "./views/settings/tabs/_HelpSettingsTab.scss";
|
@import "./views/settings/tabs/_HelpSettingsTab.scss";
|
||||||
|
@import "./views/settings/tabs/_NotificationSettingsTab.scss";
|
||||||
@import "./views/settings/tabs/_PreferencesSettingsTab.scss";
|
@import "./views/settings/tabs/_PreferencesSettingsTab.scss";
|
||||||
@import "./views/settings/tabs/_SecuritySettingsTab.scss";
|
@import "./views/settings/tabs/_SecuritySettingsTab.scss";
|
||||||
@import "./views/settings/tabs/_SettingsTab.scss";
|
@import "./views/settings/tabs/_SettingsTab.scss";
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
/*
|
||||||
|
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_NotificationSettingsTab .mx_SettingsTab_heading {
|
||||||
|
margin-bottom: 10px; // Give some spacing between the title and the first elements
|
||||||
|
}
|
|
@ -61,3 +61,9 @@ limitations under the License.
|
||||||
color: $accent-color;
|
color: $accent-color;
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mx_SettingsTab .mx_SettingsTab_subheading:nth-child(n + 2) {
|
||||||
|
// These views have a lot of the same repetitive information on it, so
|
||||||
|
// give them more visual distinction between the sections.
|
||||||
|
margin-top: 30px;
|
||||||
|
}
|
||||||
|
|
|
@ -26,7 +26,7 @@ export default class NotificationSettingsTab extends React.Component {
|
||||||
render() {
|
render() {
|
||||||
const Notifications = sdk.getComponent("views.settings.Notifications");
|
const Notifications = sdk.getComponent("views.settings.Notifications");
|
||||||
return (
|
return (
|
||||||
<div className="mx_SettingsTab">
|
<div className="mx_SettingsTab mx_NotificationSettingsTab">
|
||||||
<div className="mx_SettingsTab_heading">{_t("Notifications")}</div>
|
<div className="mx_SettingsTab_heading">{_t("Notifications")}</div>
|
||||||
<div className="mx_SettingsTab_section mx_SettingsTab_subsectionText">
|
<div className="mx_SettingsTab_section mx_SettingsTab_subsectionText">
|
||||||
<Notifications />
|
<Notifications />
|
||||||
|
|
Loading…
Reference in New Issue