reset button.vue

This commit is contained in:
pat-s 2025-01-09 22:42:53 +01:00
parent 4fb44db672
commit a6aadcb126
No known key found for this signature in database
GPG key ID: 3C6318841EF78925

View file

@ -2,7 +2,7 @@
<component <component
:is="to === undefined ? 'button' : httpLink ? 'a' : 'router-link'" :is="to === undefined ? 'button' : httpLink ? 'a' : 'router-link'"
v-bind="btnAttrs" v-bind="btnAttrs"
class="relative flex flex-shrink-0 cursor-pointer items-center overflow-hidden whitespace-nowrap text-wrap rounded-md border px-2 py-1 shadow-sm transition-all duration-150 disabled:cursor-not-allowed disabled:opacity-50" class="relative flex flex-shrink-0 cursor-pointer items-center overflow-hidden whitespace-nowrap rounded-md border px-2 py-1 shadow-sm transition-all duration-150 disabled:cursor-not-allowed disabled:opacity-50"
:class="{ :class="{
'border-wp-control-neutral-300 bg-wp-control-neutral-100 text-wp-text-100 hover:bg-wp-control-neutral-200': 'border-wp-control-neutral-300 bg-wp-control-neutral-100 text-wp-text-100 hover:bg-wp-control-neutral-200':
color === 'gray', color === 'gray',