From 40d5b213f97fb6147cc8bcaf5025d34ae9301af3 Mon Sep 17 00:00:00 2001 From: James Morris Date: Wed, 10 Aug 2022 16:13:27 +0100 Subject: [PATCH] Tweaked the email notifications in the staff profile to look a little less weird refs https://github.com/TryGhost/Team/issues/1774 --- ghost/admin/app/styles/layouts/user.css | 18 ++++++-- .../app/templates/settings/staff/user.hbs | 44 ++++++++++--------- 2 files changed, 38 insertions(+), 24 deletions(-) diff --git a/ghost/admin/app/styles/layouts/user.css b/ghost/admin/app/styles/layouts/user.css index b3ac7690df..ad38449301 100644 --- a/ghost/admin/app/styles/layouts/user.css +++ b/ghost/admin/app/styles/layouts/user.css @@ -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; diff --git a/ghost/admin/app/templates/settings/staff/user.hbs b/ghost/admin/app/templates/settings/staff/user.hbs index acbcc78b7f..87299982a6 100644 --- a/ghost/admin/app/templates/settings/staff/user.hbs +++ b/ghost/admin/app/templates/settings/staff/user.hbs @@ -298,28 +298,30 @@ {{#if (feature 'comments')}} -

Email notifications

- -
-
- -

Receive notifications when members comment on one of your posts

-
-
- -
+ - {{/if}}