mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-25 23:13:10 +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';
|
||||
|
||||
.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>
|
||||
|
@@ -7,6 +7,9 @@
|
||||
v-if="title"
|
||||
type="button"
|
||||
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"
|
||||
>
|
||||
<Icon
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="flex flex-col gap-y-6">
|
||||
<div class="flex flex-col gap-y-4">
|
||||
<Panel
|
||||
v-for="pipelineConfig in pipelineConfigsDecoded"
|
||||
:key="pipelineConfig.hash"
|
||||
|
Reference in New Issue
Block a user