mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 20:01:02 +00:00
Add min height to mobile pipeline view and fix overflow (#2335)
The mobile pipeline view in landscape view is not really usable. The idea is to add a min-height to use the screen a bit better for the main content. Before: [before.webm](https://github.com/woodpecker-ci/woodpecker/assets/3391958/c4f38da6-c0f2-4549-9f80-90a4b02ddc94) After: [after.webm](https://github.com/woodpecker-ci/woodpecker/assets/3391958/a0397d52-aeda-4edf-9200-953ca4738daa)
This commit is contained in:
parent
c5c01ddd19
commit
e139abf15a
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@
|
|||
</div>
|
||||
|
||||
<div class="flex-grow min-h-0 w-full relative">
|
||||
<div class="absolute top-0 left-0 right-0 h-full flex flex-col md:overflow-y-scroll gap-y-2">
|
||||
<div class="absolute top-0 left-0 right-0 h-full flex flex-col md:overflow-y-auto gap-y-2">
|
||||
<div
|
||||
v-for="workflow in pipeline.workflows"
|
||||
:key="workflow.id"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<FluidContainer full-width class="flex flex-col flex-grow">
|
||||
<FluidContainer full-width class="flex flex-col flex-grow md:min-h-xs">
|
||||
<div class="flex w-full min-h-0 flex-grow">
|
||||
<PipelineStepList
|
||||
v-if="pipeline?.workflows?.length || 0 > 0"
|
||||
|
|
Loading…
Reference in a new issue