Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/limit-notification-width.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
default: patch
---

Add width limit to notification banners
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const BannerContainer = style({
gap: config.space.S200,
padding: config.space.S400,
pointerEvents: 'none',
alignItems: 'stretch',
alignItems: 'flex-end',

// On iOS, when keyboard opens, ensure banner stays visible at top of visual viewport
'@supports': {
Expand Down Expand Up @@ -67,6 +67,7 @@ export const Banner = style({
boxShadow: `0 ${toRem(8)} ${toRem(32)} rgba(0, 0, 0, 0.45), 0 ${toRem(2)} ${toRem(8)} rgba(0, 0, 0, 0.3)`,
cursor: 'pointer',
width: '100%',
maxWidth: '50em',
animationName: slideIn,
animationDuration: '260ms',
animationTimingFunction: 'cubic-bezier(0.22, 0.8, 0.6, 1)',
Expand Down
Loading