mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-03-30 16:09:40 +00:00
adjust hover bg classes
This commit is contained in:
parent
700ba17207
commit
e080d71694
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
<component
|
||||
:is="to ? 'router-link' : clickable ? 'button' : 'div'"
|
||||
:to="to"
|
||||
class="flex border-wp-background-400 bg-wp-background-200 dark:bg-wp-background-400 p-4 border rounded-md w-full overflow-hidden"
|
||||
class="flex border-wp-background-400 bg-wp-background-100 dark:bg-wp-background-400 p-4 border rounded-md w-full overflow-hidden"
|
||||
:class="{
|
||||
'cursor-pointer hover:shadow-md hover:bg-wp-background-300 dark:hover:bg-wp-background-300': clickable || to,
|
||||
}"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
/>
|
||||
<Icon v-else name="blank" class="md:hidden" />
|
||||
<span
|
||||
class="flex flex-row md:justify-center items-center gap-2 dark:hover:bg-wp-background-200 hover:bg-wp-background-300 px-2 py-1 rounded-md w-full min-w-20"
|
||||
class="flex flex-row md:justify-center items-center gap-2 dark:hover:bg-wp-background-300 hover:bg-wp-background-300 px-2 py-1 rounded-md w-full min-w-20"
|
||||
>
|
||||
<Icon v-if="tab.icon" :name="tab.icon" :class="tab.iconClass" class="flex-shrink-0" />
|
||||
<span>{{ tab.title }}</span>
|
||||
|
|
Loading…
Reference in a new issue