diff --git a/docs/src/components/banner/TableOfContentsBanner.tsx b/docs/src/components/banner/TableOfContentsBanner.tsx
index 01e1de161f5ff3..764dbda4279149 100644
--- a/docs/src/components/banner/TableOfContentsBanner.tsx
+++ b/docs/src/components/banner/TableOfContentsBanner.tsx
@@ -12,42 +12,43 @@ export default function TableOfContentsBanner() {
target="_blank"
sx={[
(theme) => ({
- mb: 3,
+ mb: 2,
mx: 0.5,
+ p: 1,
display: 'flex',
- flexDirection: 'column',
- alignItems: 'flex-start',
+ alignItems: 'center',
+ gap: 1.5,
overflow: 'auto',
backgroundColor: alpha(theme.palette.grey[50], 0.4),
border: '1px solid',
- borderColor: (theme.vars || theme).palette.grey[200],
+ borderColor: (theme.vars || theme).palette.divider,
borderRadius: 1,
transitionProperty: 'all',
transitionTiming: 'cubic-bezier(0.4, 0, 0.2, 1)',
transitionDuration: '150ms',
'&:hover, &:focus-visible': {
+ backgroundColor: (theme.vars || theme).palette.primary[50],
borderColor: (theme.vars || theme).palette.primary[200],
},
}),
(theme) =>
theme.applyDarkStyles({
backgroundColor: alpha(theme.palette.primary[900], 0.2),
- borderColor: (theme.vars || theme).palette.primaryDark[700],
+ borderColor: (theme.vars || theme).palette.divider,
'&:hover, &:focus-visible': {
+ backgroundColor: alpha(theme.palette.primary[900], 0.4),
borderColor: (theme.vars || theme).palette.primaryDark[500],
},
}),
]}
>
-
-
-
-
-
-
- MUI stands in solidarity with the Ukrainian people.
-
+
+
+
+
+ MUI stands in solidarity with the Ukrainian people.
+
) : null;
}