-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for grouped notifications [#30440](mastodon/mastodon#30440)
- Loading branch information
1 parent
76eb78a
commit fc1bcf7
Showing
4 changed files
with
43 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* Mastodon Bird UI by @[email protected] | ||
2.0.0rc39 */ | ||
2.0.0rc40 */ | ||
|
||
/* CSS variables */ | ||
:root { | ||
|
@@ -1534,6 +1534,17 @@ body.embed .detailed-status, | |
pointer-events: none; | ||
} | ||
|
||
/* Grouped notification exceptions, pr30440 2024-07-11 */ | ||
.layout-multiple-columns .notification-ungrouped .status .hashtag-bar, | ||
.layout-multiple-columns .notification-ungrouped .status .status__content, | ||
.layout-multiple-columns .notification-ungrouped .status .status__action-bar { | ||
padding-left: var(--gap-default); | ||
} | ||
|
||
.layout-multiple-columns .notification-ungrouped .notification-ungrouped__header { | ||
padding-left: calc(24px + var(--gap-default)); | ||
} | ||
|
||
/* Media inside status update tinted to right */ | ||
.layout-multiple-columns .status .audio-player, | ||
.layout-multiple-columns .status .video-player, | ||
|
@@ -1810,6 +1821,13 @@ body.embed .detailed-status__meta .detailed-status__link .icon-retweet, | |
height: calc(var(--gap-default) * 2); | ||
} | ||
|
||
/* Notification groups, pr30440 2024-07-11 */ | ||
.layout-multiple-columns .notification-group { | ||
display: grid; | ||
gap: var(--gap-default); | ||
grid-template-columns: minmax(0, var(--size-avatar)) minmax(0, 1fr); | ||
} | ||
|
||
/* Make sure notification user is clickable */ | ||
.layout-multiple-columns .notification__display-name { | ||
position: relative; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* Mastodon Bird UI by @[email protected] | ||
2.0.0rc39 */ | ||
2.0.0rc40 */ | ||
|
||
/* CSS variables */ | ||
:root { | ||
|
@@ -1547,6 +1547,17 @@ body.embed .detailed-status__display-avatar > img, | |
pointer-events: none; | ||
} | ||
|
||
/* Grouped notification exceptions, pr30440 2024-07-11 */ | ||
.layout-single-column .notification-ungrouped .status .hashtag-bar, | ||
.layout-single-column .notification-ungrouped .status .status__content, | ||
.layout-single-column .notification-ungrouped .status .status__action-bar { | ||
padding-left: var(--gap-default); | ||
} | ||
|
||
.layout-single-column .notification-ungrouped .notification-ungrouped__header { | ||
padding-left: calc(24px + var(--gap-default)); | ||
} | ||
|
||
/* Media inside status update tinted to right */ | ||
.layout-single-column .status .audio-player, | ||
.layout-single-column .status .video-player, | ||
|
@@ -1861,6 +1872,13 @@ body.embed .detailed-status__meta .detailed-status__link .fa-retweet, | |
height: calc(var(--gap-default) * 2); | ||
} | ||
|
||
/* Notification groups, pr30440 2024-07-11 */ | ||
.layout-single-column .notification-group { | ||
display: grid; | ||
gap: var(--gap-default); | ||
grid-template-columns: minmax(0, var(--size-avatar)) minmax(0, 1fr); | ||
} | ||
|
||
/* Make sure notification user is clickable */ | ||
.layout-single-column .notification__display-name { | ||
position: relative; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters