Skip to content

Commit

Permalink
feat: Tabs Design Margin (#437)
Browse files Browse the repository at this point in the history
  • Loading branch information
Douglas Fabris committed Apr 21, 2021
1 parent 6ea5648 commit c92386f
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 7 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 1 addition & 7 deletions packages/fuselage/src/components/Tabs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@ export function Tabs({ children, ...props }) {
return (
<Box is='div' rcx-tabs {...props}>
<Box is='div' rcx-tabs__scroll-box>
<Box
is='div'
p='x4'
rcx-tabs__wrapper
children={children}
role='tablist'
/>
<Box is='div' rcx-tabs__wrapper children={children} role='tablist' />
</Box>
</Box>
);
Expand Down
2 changes: 2 additions & 0 deletions packages/fuselage/src/components/Tabs/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ $tabs-disabled-selected-border-color: theme(
display: flex;

flex-wrap: nowrap;

margin: lengths.margin(none) lengths.margin(12);
}

.rcx-tabs__item {
Expand Down

0 comments on commit c92386f

Please sign in to comment.