Skip to content

Commit f597b7e

Browse files
committed
fix: tabs tabBarGutter no work, close #205
1 parent 6c3e3d3 commit f597b7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/vc-tabs/src/TabBarTabsNode.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export default {
5656
{...events}
5757
class={cls}
5858
key={key}
59-
style={{ marginRight: tabBarGutter && index === children.length - 1 ? 0 : tabBarGutter }}
59+
style={{ marginRight: tabBarGutter && index === children.length - 1 ? 0 : `${tabBarGutter}px` }}
6060
{...{ directives: directives }}
6161
>
6262
{tab}

0 commit comments

Comments
 (0)