Skip to content

Commit 766dd75

Browse files
authored
chore(theme/Tabs): update style when nested Tabs in Tabs (#2870)
1 parent 3c3c9ce commit 766dd75

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

packages/core/src/theme/components/Tabs/index.scss

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,20 @@
55
border: var(--rp-code-block-border);
66
box-shadow: var(--rp-code-block-shadow);
77

8+
// nested
9+
& & {
10+
border-radius: 0;
11+
margin: 0;
12+
border: none;
13+
}
14+
815
.rp-codeblock {
9-
margin: 0 !important;
10-
border-radius: 0 !important;
11-
border: none !important;
16+
margin: 0;
17+
border-radius: 0;
18+
border: none;
1219

1320
.rp-codeblock__title {
14-
padding: 8px 16px !important;
21+
padding: 8px 12px;
1522
}
1623
}
1724

0 commit comments

Comments
 (0)