Repository navigation
notifications-ui - Improve UI on mobile - #9635
Conversation
| /* Move "Manage notifications" to the right */ | ||
| /* Use .my-2 for extra specificity */ | ||
| .manage-notifications-responsive.my-2 { | ||
| margin: 0 !important; | ||
| order: 10; | ||
| } |
There was a problem hiding this comment.
This PR doesn't try to alter the style/contents of the top 3 dropdown/modals. It's unclear what they should be, really. Changing the meaning of the gear button seems too much.
|
|
||
| /* Scale back "All | Unread" selector so it doesn't take the full width */ | ||
| & > .BtnGroup:first-child { | ||
| width: auto; |
There was a problem hiding this comment.
| width: auto; | |
| width: auto; | |
| margin-right: auto; |
I thought we should keep the sort/grouping aligned right, but there's actually an extra element (exists but empty) which messes with column-gap. GitHub fills this with the "there are new notifications" text.
We could probably move this in the middle, but I was unable to make it appear and play with it.
| { | ||
| "id": "notifications-ui", | ||
| "description": "Lets you change notifications sorting and grouping in one click.", | ||
| "css": true, |
| } | ||
|
|
||
| void features.addCssFeature(import.meta.url); | ||
| void features.add(import.meta.url, { |
There was a problem hiding this comment.
I don’t like this but we've been doing it in a few features. Not sure if it should be made "official" by adding a css field to the regular FeatureInit object






notifications-ui- New feature #9368Test URLs
https://github.com/notifications
Screenshot
At the smallest resolution
and at the widest