File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ function OperationNode(
141
141
142
142
// ========================= Render =========================
143
143
const moreStyle : React . CSSProperties = {
144
- [ rtl ? 'marginLeft ' : 'marginRight ' ] : tabBarGutter ,
144
+ [ rtl ? 'marginRight ' : 'marginLeft ' ] : tabBarGutter ,
145
145
} ;
146
146
if ( ! tabs . length ) {
147
147
moreStyle . visibility = 'hidden' ;
Original file line number Diff line number Diff line change @@ -47,9 +47,9 @@ function TabNode(
47
47
48
48
const nodeStyle : React . CSSProperties = { } ;
49
49
if ( tabPosition === 'top' || tabPosition === 'bottom' ) {
50
- nodeStyle [ rtl ? 'marginLeft ' : 'marginRight ' ] = tabBarGutter ;
50
+ nodeStyle [ rtl ? 'marginRight ' : 'marginLeft ' ] = tabBarGutter ;
51
51
} else {
52
- nodeStyle . marginBottom = tabBarGutter ;
52
+ nodeStyle . marginTop = tabBarGutter ;
53
53
}
54
54
55
55
const removable = editable && closable !== false && ! disabled ;
You can’t perform that action at this time.
0 commit comments