Skip to content

Commit c8c88fd

Browse files
author
Juan Andrade
committed
[css-vars-theme] Use calc()
1 parent 63970ae commit c8c88fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

__docs__/wonder-blocks-tabs/navigation-tabs.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ export const HeaderWithNavigationTabsExample: StoryComponentType = {
299299
navigationTabsRoot: {
300300
// set margin to negative value of header vertical spacing so
301301
// that selected indicator lines up with header border
302-
margin: `var(${headerVerticalSpacing}, *-1) 0`,
302+
margin: `calc(${headerVerticalSpacing}, *-1) 0`,
303303
},
304304
});
305305
const [currentTab, setCurrentTab] = React.useState(0);

0 commit comments

Comments
 (0)