diff --git a/packages/ui/src/app.css b/packages/ui/src/app.css index 595cc9a..53ea792 100644 --- a/packages/ui/src/app.css +++ b/packages/ui/src/app.css @@ -710,6 +710,11 @@ select.sl { resize: none; cursor: pointer; padding-right: 8px; } box-shadow: 0 0 0 1px var(--line), 0 10px 26px -12px oklch(0.25 0.03 262 / 0.30); animation: pop 300ms var(--ease-out); } +.request-overlay { + position: fixed; z-index: 38; margin: 0; width: min(520px, calc(100vw - 24px)); + overflow: auto; overscroll-behavior: contain; visibility: hidden; +} +.request-overlay.placed { visibility: visible; } @keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(0.995); } } /* The goal composer is a modal (`.scrim .newgoal`) rather than a card in the page, but it is the same object saying the same things, so the heading and the hint under it are drawn once for both. */ diff --git a/packages/ui/src/lib/components/NewRequest.svelte b/packages/ui/src/lib/components/NewRequest.svelte index 7753b77..792b18b 100644 --- a/packages/ui/src/lib/components/NewRequest.svelte +++ b/packages/ui/src/lib/components/NewRequest.svelte @@ -1,8 +1,10 @@ -
-

+