feat: Add quoting, replies, refactor parts of old code

This commit is contained in:
Jesse Wierzbinski 2024-04-27 20:35:26 -10:00
parent 0f214b6a17
commit b4e682a562
No known key found for this signature in database
8 changed files with 167 additions and 64 deletions

View file

@ -2,7 +2,7 @@
<HeadlessMenu v-slot="{ close }">
<slot name="button"></slot>
<HeadlessMenuItems @click="close" class="fixed inset-0 z-5 bg-black/50">
<HeadlessMenuItems @click="close" class="fixed z-20 inset-0 z-5 bg-black/50">
</HeadlessMenuItems>
@ -12,7 +12,7 @@
leave-active-class="transition ease-out duration-75" leave-from-class="transform opacity-100 scale-100"
leave-to-class="transform opacity-0 scale-95">
<HeadlessMenuItems
:class="['z-10 mt-2 rounded overflow-hidden bg-dark-900 shadow-lg ring-1 ring-white/10 focus:outline-none',
:class="['z-20 mt-2 rounded overflow-hidden bg-dark-900 shadow-lg ring-1 ring-white/10 focus:outline-none',
isSmallScreen ? 'bottom-0 fixed inset-x-0 w-full origin-bottom' : 'absolute right-0 origin-top-right top-full min-w-56']">
<div v-if="isSmallScreen" class="w-full bg-white/10 py-2">
<div class="rounded-full h-1 bg-gray-400 w-12 mx-auto"></div>