fix: use same with on RangeCalendarHeadCell as in RangeCalendarCell

RangeCalendarCell uses a w-9 class while RangeCalendarHeadCell is using
w-8, this uses the same w-9 for both components
This commit is contained in:
Hundrog 2024-08-16 00:03:00 -06:00
parent bdcd555c84
commit 68b5d4baf0
2 changed files with 5 additions and 2 deletions

View File

@ -15,7 +15,7 @@ const forwardedProps = useForwardProps(delegatedProps)
</script>
<template>
<RangeCalendarHeadCell :class="cn('w-8 rounded-md text-[0.8rem] font-normal text-muted-foreground', props.class)" v-bind="forwardedProps">
<RangeCalendarHeadCell :class="cn('w-9 rounded-md text-[0.8rem] font-normal text-muted-foreground', props.class)" v-bind="forwardedProps">
<slot />
</RangeCalendarHeadCell>
</template>

View File

@ -15,7 +15,10 @@ const forwardedProps = useForwardProps(delegatedProps)
</script>
<template>
<RangeCalendarHeadCell :class="cn('w-8 rounded-md text-[0.8rem] font-normal text-muted-foreground', props.class)" v-bind="forwardedProps">
<RangeCalendarHeadCell
:class="cn('w-9 rounded-md text-[0.8rem] font-normal text-muted-foreground', props.class)"
v-bind="forwardedProps"
>
<slot />
</RangeCalendarHeadCell>
</template>