docs: add missing overflow-hidden on components

This commit is contained in:
Benjamin Canac
2024-02-06 23:09:27 +01:00
parent ac42ec106f
commit 34adcc1c04
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div class="[&>div>pre]:!rounded-t-none [&>div>pre]:!mt-0">
<div
class="flex border border-gray-200 dark:border-gray-700 relative rounded-t-md"
class="flex border border-gray-200 dark:border-gray-700 relative rounded-t-md overflow-hidden"
:class="[{ 'p-4': padding, 'rounded-b-md': !hasCode, 'border-b-0': hasCode, 'not-prose': !prose }, backgroundClass, extraClass]"
>
<template v-if="component">