From a74098c06b1ffb570941e0b17af99c4f37364a7c Mon Sep 17 00:00:00 2001 From: patcapulong Date: Wed, 18 Feb 2026 14:12:32 -0800 Subject: [PATCH] fix: add overflow hidden to code group containers for corner radius clipping The general .code-group CSS rule was missing overflow: hidden, causing inner elements (with border-radius: 0) to bleed through the parent's rounded border on production. This made corners appear sharp and borders clipped on API reference code blocks. Co-authored-by: Cursor --- mintlify/style.css | 1 + 1 file changed, 1 insertion(+) diff --git a/mintlify/style.css b/mintlify/style.css index 3ebe1fe..792e99f 100644 --- a/mintlify/style.css +++ b/mintlify/style.css @@ -1648,6 +1648,7 @@ div.callout, [data-testid="code-group-select"] { border-radius: var(--ls-radius-md) !important; padding: 0 !important; + overflow: hidden !important; border: 0.5px solid var(--ls-black-10) !important; }