0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00

Tweaked the email notifications in the staff profile to look a little less weird

refs https://github.com/TryGhost/Team/issues/1774
This commit is contained in:
James Morris 2022-08-10 16:13:27 +01:00
parent be7fa97144
commit 40d5b213f9
2 changed files with 38 additions and 24 deletions

View file

@ -172,14 +172,26 @@
/* Notifications */
.user-settings-heading {
border-top: 1px solid var(--lightgrey);
padding-top: 4vw;
margin-top: 4vw;
margin-bottom: 3rem;
font-size: 1.55rem;
font-weight: 700;
line-height: 1.3em;
}
.user-settings-subgroup {
border-top: 1px solid var(--lightgrey);
font-size: 1.55rem;
font-weight: 700;
line-height: 1.3em;
padding-top: 3vw;
margin-top: 4vw;
margin-bottom: -1vw;
}
.user-settings-subgroup .form-group {
margin-bottom: 0;
}
.user-setting-toggle {
display: flex;
justify-content: space-between;

View file

@ -298,6 +298,7 @@
</GhFormGroup>
{{#if (feature 'comments')}}
<div class="user-settings-subgroup">
<h4 class="user-settings-heading">Email notifications</h4>
<GhFormGroup @errors={{this.user.errors}} @hasValidated={{this.user.hasValidated}} @property="email">
<div class="user-setting-toggle">
@ -320,6 +321,7 @@
</div>
</div>
</GhFormGroup>
</div>
{{/if}}
</fieldset>