Skip to content
Snippets Groups Projects
Commit a7fb6ee8 authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt :koala:
Browse files

fix: work-around headlessui bug

Although the docs [1] specify a class on Popover components, this
doesn’t seem to be passed down. We help ourselves with a selector for
the data-headlessui-state attribute .

[1] https://headlessui.com/vue/popover
parent 1da46b16
No related branches found
No related tags found
No related merge requests found
......@@ -113,6 +113,10 @@ thead .fc-day-selected:hover {
}
@layer components {
[data-headlessui-state='open'] {
position: relative;
}
.btn-default {
@apply tw-bg-gray-100 tw-border tw-border-solid tw-border-black/5 tw-transition hover:enabled:tw-brightness-95 focus-visible:enabled:tw-brightness-95;
}
......
<template>
<section>
<header
class="tw-relative tw-w-fit tw-flex tw-items-center tw-gap-6 tw-mt-12 tw-mb-4 first:tw-mt-0"
>
<header class="tw-relative tw-flex tw-items-center tw-gap-6 tw-mt-12 tw-mb-4 first:tw-mt-0">
<SectionTitle>{{ title }}</SectionTitle>
<slot name="header" />
</header>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment