fix(ui): put the Archie bar under the canvas on phones so it cannot cover a step
This commit is contained in:
1 parent
fecbe84a66
commit
87bee02a04
3 files changed
+5
-4
No files matched your search
@@ -429,9 +429,10 @@ function syncScroll(event: Event): void {
|
||||
itself does not scroll; the canvas pans. A phone stacks more chrome
|
||||
above it (the workflow list, a two-row toolbar and the run picker),
|
||||
hence the larger offset below md. -->
|
||||
<div class="relative h-[calc(100dvh-17rem)] min-h-[26rem] max-md:h-[calc(100dvh-30rem)] max-md:min-h-[20rem]">
|
||||
<div class="relative h-[calc(100dvh-17rem)] min-h-[26rem] max-md:flex max-md:h-[calc(100dvh-22rem)] max-md:min-h-[23rem] max-md:flex-col">
|
||||
<p v-if="restartError" role="alert" class="absolute bottom-3 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="max-md:h-auto max-md:min-h-0 max-md:flex-1"
|
||||
:inert="archieWorking"
|
||||
:yaml="yaml"
|
||||
:stages="stages"
|
||||
@@ -473,7 +474,7 @@ function syncScroll(event: Event): void {
|
||||
</template>
|
||||
</template>
|
||||
</WorkflowCanvas>
|
||||
<div class="pointer-events-none absolute inset-x-0 bottom-3 z-10 flex justify-center px-3 max-md:pr-20">
|
||||
<div class="pointer-events-none absolute inset-x-0 bottom-3 z-10 flex justify-center px-3 max-md:static max-md:px-0 max-md:pt-2 max-md:pr-16">
|
||||
<CoBuilder
|
||||
v-if="selected"
|
||||
:key="selected"
|
||||
|
||||
Reference in new issue
Block a user