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:
Anbraten 2025-03-26 13:51:16 +01:00 committed by GitHub
parent bce5899037
commit 2aecfdc8ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 2 deletions

View file

@ -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>

View file

@ -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

View file

@ -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"