Skip to content

Commit efde0a6

Browse files
committed
docs(DocsExample): drop overflow-clip so splitter grip stays visible
The rounded card's overflow-clip was clipping the splitter handle's drag-grip (an absolutely-positioned 16x24 span that bleeds past the splitter root in flex layout when panel 2 sits at min-size 0). Removing it restores the affordance. The toggle button now carries an explicit rounded-b-lg for the collapsed case.
1 parent 58df5fb commit efde0a6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/docs/src/components/docs/DocsExample.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@
207207
:class="peek && !hasMultipleFiles && 'mb-10'"
208208
style="--docs-example-toggle-h: 45px;"
209209
>
210-
<div class="border border-divider rounded-lg overflow-clip [&>*:first-child]:rounded-t-lg [&>*:last-child]:rounded-b-lg">
210+
<div class="border border-divider rounded-lg [&>*:first-child]:rounded-t-lg [&>*:last-child]:rounded-b-lg">
211211
<!-- Description -->
212212
<DocsExampleDescription
213213
v-if="hasDescription || title"
@@ -287,7 +287,7 @@
287287
<button
288288
:aria-controls="`${uid}-code`"
289289
:aria-expanded="showCode"
290-
class="group w-full px-4 py-3 bg-transparent border-none font-inherit text-sm cursor-pointer flex items-center gap-2 text-on-surface transition-colors"
290+
class="group w-full px-4 py-3 bg-transparent border-none font-inherit text-sm cursor-pointer flex items-center gap-2 text-on-surface transition-colors rounded-b-lg"
291291
:class="!showCode && 'hover:bg-surface'"
292292
type="button"
293293
@click="toggleCode"

0 commit comments

Comments
 (0)