Skip to content

Commit c1541ff

Browse files
authored
fix(split): add saas style (#3908)
* fix(split): add SaaS style * fix: modify comments
1 parent 0dce36e commit c1541ff

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

packages/theme-saas/src/split/index.less

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,18 @@
1010
@apply h-full;
1111
@apply overflow-hidden;
1212
box-shadow: 0 0 0 theme('borderWidth.DEFAULT') theme('colors.color.border.separator.DEFAULT');
13+
14+
// 无边框模式
15+
&.no-border {
16+
@apply border-0;
17+
box-shadow: none;
18+
}
19+
20+
// split嵌套使用内部不需要圆角和边框
21+
& & {
22+
@apply rounded-none;
23+
@apply border-0;
24+
}
1325
}
1426

1527
&-pane {

0 commit comments

Comments
 (0)