Skip to content

Commit

Permalink
fix(decorator/mui): hide background tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
soup-in-boots committed May 5, 2022
1 parent 80baadc commit 1e5fc36
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/decorator-mui/src/tabs/container.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ const Panels = styled(Box)(({ form, theme }) => [
position: 'relative',
zIndex: 5,
},
form.layout === 'horizontal' && {
flexDirection: 'column',
flexGrow: 1,
},
!form.disableMargin && {
margin: theme.spacing(1),
},
Expand Down

0 comments on commit 1e5fc36

Please sign in to comment.