Skip to content

Commit

Permalink
Use min/max width for pipeline step list (#2141)
Browse files Browse the repository at this point in the history
I've also added a min-width to keep the sidebar a bit more readable
before the breakpoint is reached:

Before: 

![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/4e76f487-0bfd-416b-9969-9aca42aed629)

After:

![image](https://github.com/woodpecker-ci/woodpecker/assets/3391958/f936c44e-9952-4eb0-8dc3-95d8c48e8dfb)
  • Loading branch information
xoxys authored Aug 7, 2023
1 parent 17ab945 commit 8f44ca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/components/repo/pipeline/PipelineStepList.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="flex flex-col w-full md:w-md md:ml-2 text-wp-text-100 gap-2 pb-2">
<div class="flex flex-col w-full md:w-3/12 md:max-w-md md:min-w-xs md:ml-2 text-wp-text-100 gap-2 pb-2">
<div
class="flex flex-wrap p-4 gap-1 justify-between flex-shrink-0 md:rounded-md border bg-wp-background-100 border-wp-background-400 dark:bg-wp-background-200"
>
Expand Down

0 comments on commit 8f44ca3

Please sign in to comment.