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(
141141
142142 // ========================= Render =========================
143143 const moreStyle : React . CSSProperties = {
144- [ rtl ? 'marginLeft ' : 'marginRight ' ] : tabBarGutter ,
144+ [ rtl ? 'marginRight ' : 'marginLeft ' ] : tabBarGutter ,
145145 } ;
146146 if ( ! tabs . length ) {
147147 moreStyle . visibility = 'hidden' ;
Original file line number Diff line number Diff line change @@ -47,9 +47,9 @@ function TabNode(
4747
4848 const nodeStyle : React . CSSProperties = { } ;
4949 if ( tabPosition === 'top' || tabPosition === 'bottom' ) {
50- nodeStyle [ rtl ? 'marginLeft ' : 'marginRight ' ] = tabBarGutter ;
50+ nodeStyle [ rtl ? 'marginRight ' : 'marginLeft ' ] = tabBarGutter ;
5151 } else {
52- nodeStyle . marginBottom = tabBarGutter ;
52+ nodeStyle . marginTop = tabBarGutter ;
5353 }
5454
5555 const removable = editable && closable !== false && ! disabled ;
You can’t perform that action at this time.
0 commit comments