Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Improve notification styles #3913

Merged
merged 5 commits into from
Oct 20, 2023
Merged

feat: Improve notification styles #3913

merged 5 commits into from
Oct 20, 2023

Conversation

gadenbuie
Copy link
Member

@gadenbuie gadenbuie commented Oct 10, 2023

Pairs with (but doesn't require) rstudio/bslib#754

Brings a few minor adjustments to the notification styles:

  1. Increase the touch area of the notification close button to a 2rem square and use a pointer cursor.

  2. Allow the notifications to be slightly wider at 300px

  3. Adjust padding to create a right-aligned gutter for the notification close button.

  4. Give notification messages just a little bit more margin for breathing room.

Before After
image image

@cpsievert
Copy link
Collaborator

@gadenbuie just as a heads up, I decided to merge the news bullets for #3882 and #3914 since they're pretty related from an end-user perspective

@cpsievert cpsievert merged commit c4ef423 into main Oct 20, 2023
1 check passed
@cpsievert cpsievert deleted the feat/notifications branch October 20, 2023 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants