dev: hotfix, text-size standardization
This commit is contained in:
@@ -9,7 +9,7 @@ const props = defineProps<{
|
||||
|
||||
<template>
|
||||
<div class="relative w-full overflow-x-auto">
|
||||
<table :class="cn('min-w-full table-fixed caption-bottom text-sm', props.class)">
|
||||
<table :class="cn('min-w-full table-fixed caption-bottom md:text-xs 2xl:text-sm', props.class)">
|
||||
<slot />
|
||||
</table>
|
||||
</div>
|
||||
|
||||
@@ -8,7 +8,7 @@ const props = defineProps<{
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<caption :class="cn('mt-4 text-sm text-muted-foreground', props.class)">
|
||||
<caption :class="cn('mt-4 md:text-xs 2xl:text-sm text-muted-foreground', props.class)">
|
||||
<slot />
|
||||
</caption>
|
||||
</template>
|
||||
|
||||
@@ -25,7 +25,7 @@ const delegatedProps = computed(() => {
|
||||
<TableCell
|
||||
:class="
|
||||
cn(
|
||||
'p-4 whitespace-nowrap align-middle text-sm text-foreground',
|
||||
'p-4 whitespace-nowrap align-middle md:text-xs 2xl:text-sm text-foreground',
|
||||
props.class,
|
||||
)
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user