fix(ui): let the phone canvas fill the height reserved for the chat launcher
This commit is contained in:
1 parent
f013537636
commit
c761ad6775
1 file changed
+4
-3
@@ -449,9 +449,10 @@ function syncScroll(event: Event): void {
|
||||
editor and loads its draft when the operator switches tabs. -->
|
||||
<TabsContent value="canvas" force-mount class="space-y-2 data-[state=inactive]:hidden">
|
||||
<!-- The canvas takes the height the viewport has left, so the page
|
||||
itself does not scroll; the canvas pans. A phone stacks the run
|
||||
selector over the step tooling, hence the larger offset below md. -->
|
||||
<div class="relative flex h-[calc(100dvh-17rem)] min-h-[26rem] flex-col max-md:h-[calc(100dvh-22rem)] max-md:min-h-[23rem]">
|
||||
itself does not scroll; the canvas pans. On a phone the Archie bar
|
||||
already sits beside the launcher, so the canvas takes back the
|
||||
launcher padding the page reserves below it. -->
|
||||
<div class="relative flex h-[calc(100dvh-17rem)] min-h-[26rem] flex-col max-md:-mb-20 max-md:min-h-[23rem]">
|
||||
<p v-if="restartError" role="alert" class="absolute bottom-16 left-14 z-10 max-w-xl rounded-md border border-danger/40 bg-card px-3 py-2 text-sm text-danger shadow-lg">{{ restartError }}</p>
|
||||
<WorkflowCanvas
|
||||
class="h-auto min-h-0 flex-1"
|
||||
|
||||
Reference in new issue
Block a user