diff --git a/layouts/DefaultLayout.js b/layouts/DefaultLayout.js index 3ebcfe8b..2204e366 100644 --- a/layouts/DefaultLayout.js +++ b/layouts/DefaultLayout.js @@ -60,7 +60,7 @@ const DefaultLayout = ({ tags, posts, page, currentTag, ...customMeta }) => { changeColumn(3) } else if (window.innerWidth > 900) { changeColumn(2) - } else if (window.innerWidth < 900) { + } else if (window.innerWidth <= 900) { changeColumn(1) } }, 500) diff --git a/pages/_document.js b/pages/_document.js index e5c7a27e..e317e768 100644 --- a/pages/_document.js +++ b/pages/_document.js @@ -14,7 +14,6 @@ class MyDocument extends Document {
-