docs(ComponentProps/ComponentSlots): remove white-space

This commit is contained in:
Benjamin Canac
2024-07-30 18:02:56 +02:00
parent 9a8d44c46b
commit a6d5e188a3
2 changed files with 2 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ const metaProps: ComputedRef<ComponentMeta['props']> = computed(() => {
<ProseTd>
<HighlightInlineType v-if="prop.type" :type="prop.type" />
<MDC v-if="prop.description" :value="prop.description" class="text-gray-600 dark:text-gray-300 mt-1 whitespace-pre" />
<MDC v-if="prop.description" :value="prop.description" class="text-gray-600 dark:text-gray-300 mt-1" />
<ComponentPropsSchema v-if="prop.schema" :prop="prop" />
</ProseTd>

View File

@@ -31,7 +31,7 @@ const meta = await fetchComponentMeta(name as any)
<ProseTd>
<HighlightInlineType v-if="slot.type" :type="slot.type" />
<MDC v-if="slot.description" :value="slot.description" class="text-gray-600 dark:text-gray-300 mt-1 whitespace-pre" />
<MDC v-if="slot.description" :value="slot.description" class="text-gray-600 dark:text-gray-300 mt-1" />
</ProseTd>
</ProseTr>
</ProseTbody>