diff options
author | ThibG <thib@sitedethib.com> | 2020-12-15 18:43:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-15 18:43:54 +0100 |
commit | 79efcf8aad17b8bc47d98592151fbd24b977cbeb (patch) | |
tree | e5a6d47cec35002cd1fa22ce1438408c90bd68f7 /app/javascript/styles | |
parent | 83579695593c941ab39ab545c10a7f711bf715fc (diff) |
Change notification permission handling (#15176)
* Change notification permission handling - allow changing individual alert settings even if permission is not explicitly enabled (asks for permission on toggle) - persist permission request banner dismissal across sessions through settings * Add additional, more discrete message to grant permissions * Change permission granting button design according to reviews Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript/styles')
-rw-r--r-- | app/javascript/styles/mastodon/components.scss | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index 22bf025fb..2163d74fc 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -3459,6 +3459,12 @@ a.status-card.compact:hover { } } +.column-header__permission-btn { + display: inline; + font-weight: inherit; + text-decoration: underline; +} + .column-header__setting-arrows { float: right; @@ -3857,7 +3863,7 @@ a.status-card.compact:hover { } .column-settings__row { - .text-btn { + .text-btn:not(.column-header__permission-btn) { margin-bottom: 15px; } } |