From 4a73d51acd6cc2610fa962a424a6d7049520f560 Mon Sep 17 00:00:00 2001 From: Adam <2363879+adamdotdevin@users.noreply.github.com> Date: Tue, 10 Feb 2026 05:52:34 -0600 Subject: fix(app): workspace reset issues --- packages/ui/src/components/toast.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'packages/ui/src') diff --git a/packages/ui/src/components/toast.css b/packages/ui/src/components/toast.css index ed7ba4a20..de547f9c7 100644 --- a/packages/ui/src/components/toast.css +++ b/packages/ui/src/components/toast.css @@ -7,7 +7,9 @@ flex-direction: column; gap: 8px; max-width: min(400px, calc(100vw - 64px)); + max-height: calc(100dvh - 96px); width: 100%; + overflow: hidden; pointer-events: none; [data-slot="toast-list"] { @@ -17,6 +19,8 @@ list-style: none; margin: 0; padding: 0; + max-height: 100%; + overflow-y: auto; } } @@ -26,6 +30,8 @@ align-items: flex-start; gap: 20px; padding: 16px 20px; + max-height: min(420px, calc(100dvh - 96px)); + overflow: hidden; pointer-events: auto; transition: all 150ms ease-out; @@ -91,8 +97,10 @@ display: flex; flex-direction: column; gap: 2px; + min-height: 0; min-width: 0; - overflow: hidden; + overflow-x: hidden; + overflow-y: auto; } [data-slot="toast-title"] { -- cgit v1.2.3