Skip to content

Commit

Permalink
[docs] Polish docs banner
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Jul 10, 2023
1 parent 17f5651 commit 4939e62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions docs/src/components/banner/TableOfContentsBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export default function TableOfContentsBanner() {
display: 'flex',
alignItems: 'center',
gap: 1.5,
overflow: 'auto',
backgroundColor: alpha(theme.palette.grey[50], 0.4),
border: '1px solid',
borderColor: (theme.vars || theme).palette.divider,
Expand Down Expand Up @@ -47,7 +46,7 @@ export default function TableOfContentsBanner() {
<Box sx={{ height: 6, width: 16, backgroundColor: '#FFD700' }} />
</Box>
<Typography component="span" variant="caption" fontWeight="medium" color="text.secondary">
MUI stands in solidarity with the Ukrainian people.
MUI stands in solidarity with Ukraine.
</Typography>
</Link>
) : null;
Expand Down
1 change: 1 addition & 0 deletions docs/src/modules/components/AppTableOfContents.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import featureToggle from 'docs/src/featureToggle';

const Nav = styled('nav')(({ theme }) => ({
top: 'var(--MuiDocs-header-height)',
marginTop: 'var(--MuiDocs-header-height)',
paddingLeft: 2, // Fix truncated focus outline style
position: 'sticky',
height: 'calc(100vh - var(--MuiDocs-header-height))',
Expand Down

0 comments on commit 4939e62

Please sign in to comment.