feat/tidy-up:

- mengurangi elm yg tidak diperlukan
- menyesuaikan font-size sesuai breakpoint
This commit is contained in:
Andrian Roshandy
2025-09-29 07:46:13 +07:00
parent 1c2876d768
commit 829bd73034
35 changed files with 628 additions and 386 deletions

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
<script setup lang="ts">
const props = withDefaults(
defineProps<{
labelFor: string
labelFor?: string
size?: 'default' | 'narrow' | 'wide'
height?: 'default' | 'compact'
position?: 'default' | 'dynamic'
@@ -48,7 +48,7 @@ const labelClass = computed(() => [props.stacked ? 'block mb-1 text-sm font-medi
<template>
<div :class="wrapperClass">
<label class="block text-base font-medium text-gray-600" :class="labelClass" :for="labelFor">
<label class="block" :class="labelClass" :for="labelFor">
<slot />
</label>
</div>