fix: weekdays spacing (#300)
This commit is contained in:
parent
1758a91d72
commit
8875261576
|
|
@ -125,16 +125,22 @@ const vCalendarSlots = computed(() => {
|
||||||
@apply flex;
|
@apply flex;
|
||||||
}
|
}
|
||||||
.calendar .vc-weekday {
|
.calendar .vc-weekday {
|
||||||
@apply text-muted-foreground rounded-md w-9 font-normal text-[0.8rem];
|
@apply text-muted-foreground rounded-md w-full font-normal text-[0.8rem];
|
||||||
|
}
|
||||||
|
.calendar .vc-weekday-1 {
|
||||||
|
@apply pr-3;
|
||||||
|
}
|
||||||
|
.calendar .vc-weekday-7 {
|
||||||
|
@apply pl-3;
|
||||||
}
|
}
|
||||||
.calendar .vc-weeks {
|
.calendar .vc-weeks {
|
||||||
@apply w-full space-y-2 flex flex-col [&>_div]:grid [&>_div]:grid-cols-7;
|
@apply w-full space-y-2 flex flex-col [&>_div]:grid [&>_div]:grid-cols-7;
|
||||||
}
|
}
|
||||||
.calendar .vc-day:has(.vc-highlights) {
|
.calendar .vc-day:has(.vc-highlights) {
|
||||||
@apply bg-accent first:rounded-l-md last:rounded-r-md overflow-hidden;
|
@apply first:rounded-l-md last:rounded-r-md;
|
||||||
}
|
}
|
||||||
.calendar .vc-day.is-today:not(:has(.vc-day-layer)) {
|
.calendar .vc-day.is-today:not(:has(.vc-day-layer)) .vc-day-content {
|
||||||
@apply bg-secondary rounded-md;
|
@apply bg-secondary text-primary rounded-md;
|
||||||
}
|
}
|
||||||
.calendar .vc-day:has(.vc-highlight-base-start) {
|
.calendar .vc-day:has(.vc-highlight-base-start) {
|
||||||
@apply rounded-l-md;
|
@apply rounded-l-md;
|
||||||
|
|
|
||||||
|
|
@ -124,16 +124,22 @@ const vCalendarSlots = computed(() => {
|
||||||
@apply flex;
|
@apply flex;
|
||||||
}
|
}
|
||||||
.calendar .vc-weekday {
|
.calendar .vc-weekday {
|
||||||
@apply text-muted-foreground rounded-md w-8 font-normal text-[0.8rem];
|
@apply text-muted-foreground rounded-md w-full font-normal text-[0.8rem];
|
||||||
}
|
}
|
||||||
|
.calendar .vc-weekday-1 {
|
||||||
|
@apply pr-3;
|
||||||
|
}
|
||||||
|
.calendar .vc-weekday-7 {
|
||||||
|
@apply pl-3;
|
||||||
|
}
|
||||||
.calendar .vc-weeks {
|
.calendar .vc-weeks {
|
||||||
@apply w-full space-y-2 flex flex-col [&>_div]:grid [&>_div]:grid-cols-7;
|
@apply w-full space-y-2 flex flex-col [&>_div]:grid [&>_div]:grid-cols-7;
|
||||||
}
|
}
|
||||||
.calendar .vc-day:has(.vc-highlights) {
|
.calendar .vc-day:has(.vc-highlights) {
|
||||||
@apply bg-accent first:rounded-l-md last:rounded-r-md overflow-hidden;
|
@apply first:rounded-l-md last:rounded-r-md;
|
||||||
}
|
}
|
||||||
.calendar .vc-day.is-today:not(:has(.vc-day-layer)) {
|
.calendar .vc-day.is-today:not(:has(.vc-day-layer)) .vc-day-content {
|
||||||
@apply bg-secondary rounded-md;
|
@apply bg-secondary text-primary rounded-md;
|
||||||
}
|
}
|
||||||
.calendar .vc-day:has(.vc-highlight-base-start) {
|
.calendar .vc-day:has(.vc-highlight-base-start) {
|
||||||
@apply rounded-l-md;
|
@apply rounded-l-md;
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user