diff options
| author | Adam <[email protected]> | 2026-02-10 05:52:34 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2026-02-10 05:52:34 -0600 |
| commit | 4a73d51acd6cc2610fa962a424a6d7049520f560 (patch) | |
| tree | 35e5513d53bbf700c01ce0082eef5cc4c516d431 /packages/ui/src/components | |
| parent | 63cd763418a562245b22bb3c2906c9ec6063786a (diff) | |
| download | opencode-4a73d51acd6cc2610fa962a424a6d7049520f560.tar.gz opencode-4a73d51acd6cc2610fa962a424a6d7049520f560.zip | |
fix(app): workspace reset issues
Diffstat (limited to 'packages/ui/src/components')
| -rw-r--r-- | packages/ui/src/components/toast.css | 10 |
1 files changed, 9 insertions, 1 deletions
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"] { |
