Skip to content

Commit

Permalink
Revert "[docs] Fix layout regression (#27266)"
Browse files Browse the repository at this point in the history
This reverts commit 8bba02a.
  • Loading branch information
eps1lon authored Jul 14, 2021
1 parent 8bba02a commit 929219c
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions docs/src/modules/components/AppLayoutDocs.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ import AdManager from 'docs/src/modules/components/AdManager';
import AdGuest from 'docs/src/modules/components/AdGuest';
import AppLayoutDocsFooter from 'docs/src/modules/components/AppLayoutDocsFooter';

const TOC_WIDTH = 175;
const NAV_WIDTH = 240;

const useStyles = makeStyles((theme) => ({
root: {
display: 'flex',
Expand All @@ -42,10 +39,7 @@ const useStyles = makeStyles((theme) => ({
},
toc: {
[theme.breakpoints.up('sm')]: {
width: `calc(100% - ${TOC_WIDTH}px)`,
},
[theme.breakpoints.up('lg')]: {
width: `calc(100% - ${TOC_WIDTH}px - ${NAV_WIDTH}px)`,
width: 'calc(100% - 175px)',
},
},
disableToc: {
Expand Down

0 comments on commit 929219c

Please sign in to comment.