Skip to content

Commit 2693669

Browse files
author
Carla Goncalves
committed
remove tabbed spacing
1 parent 43de702 commit 2693669

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/theme/Tabs/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@ function TabContent({
9393
}
9494
return cloneElement(selectedTabItem, { className: "margin-top--md" });
9595
}
96+
console.log("code: " + code)
9697

9798
return (
9899
<div
99100
className={clsx(
100-
"margin-top--md",
101101
transparent && styles.transparent,
102102
code && styles.code,
103103
fullWidth && styles[`full-width`]
@@ -118,6 +118,7 @@ function TabContent({
118118

119119
function TabsComponent(props) {
120120
const tabs = useTabs(props);
121+
console.log(props)
121122
return (
122123
<div className={clsx("tabs-container", styles.tabList)}>
123124
<TabList {...props} {...tabs} />

src/theme/Tabs/styles.module.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
}
2020

2121
.code {
22+
margin-top: 0 !important;
2223
pre {
2324
border-top-left-radius: 0;
2425
padding-bottom: 0 !important;

0 commit comments

Comments
 (0)