docs(ComponentCard): fix inline highlighter (#750)

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
KeJun
2023-09-28 17:28:43 +08:00
committed by GitHub
parent 3e647e4af1
commit 8b7a013319
2 changed files with 3 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div class="[&>pre]:!rounded-t-none">
<div class="[&>div>pre]:!rounded-t-none">
<div class="flex border border-gray-200 dark:border-gray-700 relative not-prose rounded-t-md" :class="[{ 'p-4': padding, 'rounded-b-md': !$slots.code, 'border-b-0': !!$slots.code }, backgroundClass, overflowClass]">
<ContentSlot v-if="$slots.default" :use="$slots.default" />
</div>