Skip to content

Commit

Permalink
small demo container style improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo-leal committed Apr 17, 2024
1 parent c1fdb76 commit a4455cc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion docs/src/modules/components/Demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,6 @@ const DemoRootMaterial = styled('div', {
borderRightWidth: 0,
...theme.applyDarkStyles({
backgroundColor: alpha(theme.palette.primaryDark[700], 0.1),
borderBottom: 0,
}),
}),
/* Similar to the outlined one but without padding. Ideal for playground demos. */
Expand Down
1 change: 1 addition & 0 deletions docs/src/modules/components/DemoToolbarRoot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const DemoToolbarRoot = styled('div', {
display: 'none',
[theme.breakpoints.up('sm')]: {
top: 0,
maxHeight: 50,
display: 'block',
marginTop: demoOptions.bg === 'inline' ? theme.spacing(1) : -1,
padding: theme.spacing(0.5, 1),
Expand Down
2 changes: 1 addition & 1 deletion docs/src/modules/components/HighlightedCodeWithTabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const CodeTab = styled(TabBase)<{ ownerState: { mounted: boolean; contain
({ theme, ownerState }) =>
theme.unstable_sx({
height: 26,
p: '0 8px',
p: '0 8px 2px 8px',
border: ownerState?.contained ? '1px solid transparent' : 'none',
bgcolor: 'transparent',
color: ownerState?.contained
Expand Down

0 comments on commit a4455cc

Please sign in to comment.