diff --git a/shared/packages/web-ui/src/lib/styles.css b/shared/packages/web-ui/src/lib/styles.css index a63b046..cc906e4 100644 --- a/shared/packages/web-ui/src/lib/styles.css +++ b/shared/packages/web-ui/src/lib/styles.css @@ -1050,8 +1050,8 @@ html[data-wide-layout='true'] .sc-header { z-index: 200; top: 1rem; right: 1rem; - display: grid; - gap: 0.625rem; + display: flex; + flex-direction: column; width: min(100% - 2rem, 24rem); pointer-events: none; } @@ -1067,8 +1067,20 @@ html[data-wide-layout='true'] .sc-header { border-radius: var(--sc-radius-md); box-shadow: var(--sc-shadow-lg); pointer-events: auto; + position: relative; + min-width: 0; } +.sc-notification + .sc-notification { + margin-block-start: -0.875rem; +} + +.sc-notification:hover, +.sc-notification:focus-within { + z-index: 1; +} + + .sc-notification-icon { flex: 0 0 auto; margin-top: 0.125rem; @@ -1096,6 +1108,8 @@ html[data-wide-layout='true'] .sc-header { margin: 0; font-size: 0.875rem; line-height: 1.45; + min-width: 0; + overflow-wrap: anywhere; } .sc-notification-close { diff --git a/shared/shared-styles.css b/shared/shared-styles.css index 8730959..9e8d6a9 100644 --- a/shared/shared-styles.css +++ b/shared/shared-styles.css @@ -736,8 +736,8 @@ html[data-wide-layout='true'] .sc-header { z-index: 200; top: 1rem; right: 1rem; - display: grid; - gap: 0.625rem; + display: flex; + flex-direction: column; width: min(100% - 2rem, 24rem); pointer-events: none; } @@ -753,8 +753,20 @@ html[data-wide-layout='true'] .sc-header { border-radius: var(--sc-radius-md); box-shadow: var(--sc-shadow-lg); pointer-events: auto; + position: relative; + min-width: 0; } +.sc-notification + .sc-notification { + margin-block-start: -0.875rem; +} + +.sc-notification:hover, +.sc-notification:focus-within { + z-index: 1; +} + + .sc-notification-icon { flex: 0 0 auto; margin-top: 0.125rem; @@ -782,6 +794,8 @@ html[data-wide-layout='true'] .sc-header { margin: 0; font-size: 0.875rem; line-height: 1.45; + min-width: 0; + overflow-wrap: anywhere; } .sc-notification-close {