Skip to content

Commit

Permalink
Fix Layout Issue
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabh73 committed Jan 17, 2021
1 parent 5b13cc7 commit 33d4021
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 8 deletions.
19 changes: 13 additions & 6 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 25,19 @@ module.exports = {
},
`gatsby-plugin-sharp`,
`gatsby-plugin-sass`,
{
resolve: `gatsby-plugin-purgecss`,
options: {
printRejected: true,
}
},
`gatsby-plugin-postcss`,
// {
// resolve: `gatsby-plugin-purgecss`,
// options: {
// printRejected: true,
// printAll: true,
// develop: true,
// whitelist: ['readmore'],
// whitelistPatterns: [/^hamburger.*/, /^overlay-menu.*/],
// whitelistPatternsChildren: [/^hamburger.*/, /^overlay-menu.*/],
// ignore: ['/react-overlay-menu.css', '/OverlayScrollbars.css', '/sidebar.module.scss', '/styles/_mixins.scss']
// }
// },
`gatsby-plugin-dark-mode`,
{
resolve: `gatsby-source-filesystem`,
Expand Down
66 changes: 66 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 30,7 @@
"axios": "^0.21.1",
"gatsby-plugin-manifest": "^2.10.0",
"gatsby-plugin-offline": "^3.8.0",
"gatsby-plugin-postcss": "^3.5.0",
"gatsby-plugin-purgecss": "^5.0.0",
"gatsby-plugin-react-helmet": "^3.8.0",
"gatsby-plugin-sass": "^2.8.0",
Expand Down
4 changes: 2 additions & 2 deletions src/components/sidebar/sidebar.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 17,7 @@
max-width: 250px;
@include media-breakpoint-up(lg) {
display: block;
position: fixed;
z-index: $zindex-fixed;
position: fixed !important;
z-index: $zindex-fixed !important;
}
}

0 comments on commit 33d4021

Please sign in to comment.