Skip to content

An open-source, faster Devin alternative

TypeScript

docs: square the top corners of tabbed code content (flush under the tab bar)

Igor Zalutski1b7aeb465123
diff --git a/docs/styles/custom.css b/docs/styles/custom.css
index 229719c0..2d463017 100644
--- a/docs/styles/custom.css
+++ b/docs/styles/custom.css
@@ -71,3 +71,11 @@ pre code {
--rounded-2xl: var(--oc-radius);
--rounded-3xl: var(--oc-radius);
}
+
+/* In a tabbed code group the content sits flush under the tab bar — square its top corners
+ so it reads as one unit (bottom corners keep the brand radius). */
+[data-component-part="code-group-tab-content"],
+[data-component-part="code-group-tab-content"] [data-component-part="code-block-root"] {
+ border-top-left-radius: 0;
+ border-top-right-radius: 0;
+}