⚠️ refactor (form): refactor label component for improved styling and responsiveness

This commit is contained in:
Abizrh
2025-08-14 16:33:19 +07:00
parent 0b59f48fdb
commit 878211bc7f
173 changed files with 324 additions and 381 deletions

No files matched your search

@@ -1,5 +1,4 @@
<script setup lang="ts">
import type { AppConfigInput } from 'nuxt/schema'
import type { HTMLAttributes, Ref } from 'vue'
import { useEventListener, useMediaQuery, useVModel } from '@vueuse/core'
import { TooltipProvider } from 'radix-vue'
@@ -23,7 +22,7 @@ const props = withDefaults(
{
defaultOpen: true,
open: undefined,
}
},
)
const emits = defineEmits<{
@@ -92,7 +91,7 @@ provideSidebarContext({
:class="
cn(
`group/sidebar-wrapper text-sidebar-foreground has-[[data-variant=inset]]:bg-sidebar flex min-h-svh w-full`,
[props.class, sidebar?.side === 'right' ? 'flex-row-reverse' : '']
[props.class, sidebar?.side === 'right' ? 'flex-row-reverse' : ''],
)
"
>