Skip to content

Commit

Permalink
Remove redundant overflow (Solves Issue #81) (#82)
Browse files Browse the repository at this point in the history
See issue #81 

Collapsable blocks of code in Safari were overflowing.
  • Loading branch information
ggcr authored Jan 12, 2023
1 parent 728de66 commit 7d86d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/components/CodeAndExample.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function CodeAndExample({
md:rounded-b-lg
refractor-highlight
${collapsible ? "pb-12 sm:pb-12" : ""}
${expanded ? "overflow-auto" : "max-h-[200px] overflow-clip"}
${expanded ? "overflow-auto" : "max-h-[200px] overflow-hidden"}
`}
>
<pre className={`transition ${expanded ? "" : "opacity-40"}`}>
Expand Down

1 comment on commit 7d86d79

@vercel
Copy link

@vercel vercel bot commented on 7d86d79 Jan 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.