From 833664bb1bd2822e66890efca53285981167de42 Mon Sep 17 00:00:00 2001 From: dtookey Date: Thu, 3 Dec 2020 14:42:41 -0500 Subject: [PATCH] window is limited to minimum of 769. this prevents media resizing --- src/assets/pages/styles/resources-landing-page.scss | 11 +++++------ src/index.js | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/assets/pages/styles/resources-landing-page.scss b/src/assets/pages/styles/resources-landing-page.scss index 633e8b8..59faa24 100644 --- a/src/assets/pages/styles/resources-landing-page.scss +++ b/src/assets/pages/styles/resources-landing-page.scss @@ -1,10 +1,15 @@ html { font-size: 14px; } + @media (min-width: 768px) { html { font-size: 16px; } + .main { + padding-right: 40px; + padding-left: 220px; /* 180 + 40 */ + } } .input-group { @@ -106,12 +111,6 @@ body { color: navbartext; } -@media (min-width: 768 px) { - .main { - padding-right: 40px; - padding-left: 220px; /* 180 + 40 */ -} -} .searchbutton { background-color: transparent; diff --git a/src/index.js b/src/index.js index e5809ea..9cd4d7d 100644 --- a/src/index.js +++ b/src/index.js @@ -17,7 +17,7 @@ function initialize () { function createWindow () { const windowOptions = { width: 1080, - minWidth: 680, + minWidth: 769, height: 840, title: app.name, webPreferences: {