diff --git a/src/components/ContextualInfo/contextual-info.scss b/src/components/ContextualInfo/contextual-info.scss index 909c4d7eab..f6c4f5c753 100644 --- a/src/components/ContextualInfo/contextual-info.scss +++ b/src/components/ContextualInfo/contextual-info.scss @@ -28,7 +28,7 @@ border-top-right-radius: 1rem; transition: 250ms ease-in-out; - @media only screen and (min-device-width : 768px) { + @media only screen and (min-width : 768px) { max-width: 560px; position: absolute; margin-left: auto; diff --git a/src/components/CurrencyInputPanel/currency-panel.scss b/src/components/CurrencyInputPanel/currency-panel.scss index 2cc6324cc2..0af6e04824 100644 --- a/src/components/CurrencyInputPanel/currency-panel.scss +++ b/src/components/CurrencyInputPanel/currency-panel.scss @@ -254,7 +254,7 @@ font-weight: 200; } - @media only screen and (min-device-width : 768px) { + @media only screen and (min-width : 768px) { max-width: 560px; max-height: 768px; position: absolute; diff --git a/src/components/Header/header.scss b/src/components/Header/header.scss index d5dc929b3e..88ea1204d7 100644 --- a/src/components/Header/header.scss +++ b/src/components/Header/header.scss @@ -68,7 +68,7 @@ } } - @media only screen and (min-device-width : 768px) { + @media only screen and (min-width : 768px) { //position: fixed; top: 0px; left: 0px; diff --git a/src/index.scss b/src/index.scss index f5225842c3..ed8d07bfbf 100644 --- a/src/index.scss +++ b/src/index.scss @@ -22,7 +22,7 @@ html, body { background-color: $white; z-index: 100; -webkit-tap-highlight-color: rgba(255, 255, 255, 0); - @media only screen and (min-device-width : 768px) { + @media only screen and (min-width : 768px) { justify-content: center; align-items: center; } diff --git a/src/pages/App.js b/src/pages/App.js index d5f7928ab7..cab584dfee 100644 --- a/src/pages/App.js +++ b/src/pages/App.js @@ -40,7 +40,7 @@ class App extends Component { return (