mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-26 19:49:33 +00:00
Use pointer cursor for icon buttons (#5002)
Co-authored-by: Anton Bracke <anton.bracke@fastleansmart.com> Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
This commit is contained in:
@@ -47,6 +47,6 @@ defineProps<{
|
|||||||
@reference '~/tailwind.css';
|
@reference '~/tailwind.css';
|
||||||
|
|
||||||
.icon-button {
|
.icon-button {
|
||||||
@apply hover-effect relative flex items-center justify-center overflow-hidden rounded-md bg-transparent px-1 py-1 disabled:cursor-not-allowed disabled:opacity-50;
|
@apply hover-effect relative flex cursor-pointer items-center justify-center overflow-hidden rounded-md bg-transparent px-1 py-1 disabled:cursor-not-allowed disabled:opacity-50;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@@ -7,6 +7,9 @@
|
|||||||
v-if="title"
|
v-if="title"
|
||||||
type="button"
|
type="button"
|
||||||
class="bg-wp-background-400 text-wp-text-100 flex w-full gap-2 px-4 py-2 font-bold"
|
class="bg-wp-background-400 text-wp-text-100 flex w-full gap-2 px-4 py-2 font-bold"
|
||||||
|
:class="{
|
||||||
|
'cursor-pointer': collapsable,
|
||||||
|
}"
|
||||||
@click="_collapsed = !_collapsed"
|
@click="_collapsed = !_collapsed"
|
||||||
>
|
>
|
||||||
<Icon
|
<Icon
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="flex flex-col gap-y-6">
|
<div class="flex flex-col gap-y-4">
|
||||||
<Panel
|
<Panel
|
||||||
v-for="pipelineConfig in pipelineConfigsDecoded"
|
v-for="pipelineConfig in pipelineConfigsDecoded"
|
||||||
:key="pipelineConfig.hash"
|
:key="pipelineConfig.hash"
|
||||||
|
Reference in New Issue
Block a user