Changed style of event details button

This commit is contained in:
Alexis
2025-02-28 22:55:39 +01:00
parent 9cc0eabe3c
commit 0cc6d0f1ee
2 changed files with 83 additions and 21 deletions

View File

@@ -55,12 +55,12 @@ onMounted(() => {
<UiPopover v-model:open="isPopoverDetailsOpen">
<UiPopoverTrigger as-child>
<button
class="text-xs px-2 py-1 block w-full text-left rounded-sm focus-visible:bg-red-200"
class="event text-xs px-2 py-1 block w-full text-left rounded-sm focus-visible:bg-red-200 transition-colors"
:class="
cn(
event.category ? `event-${event.category.color}` : '',
{
'italic': event.hidden,
'is-hidden': event.hidden,
'rounded-r-none': isStartEvent,
'rounded-l-none': isEndEvent,
}