aboutsummaryrefslogtreecommitdiffstats
path: root/components/App.js
diff options
context:
space:
mode:
Diffstat (limited to 'components/App.js')
-rw-r--r--components/App.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/App.js b/components/App.js
index 210e0e0..b24aead 100644
--- a/components/App.js
+++ b/components/App.js
@@ -8,7 +8,7 @@ import {FontAwesomeIcon} from '@fortawesome/react-fontawesome'
const App = ({children, app, setApps}) => {
const {t} = useSettings()
const winRef = useRef(null);
- const forceMax = useMediaQuery(`(max-width: ${app.width}) or (max-height: ${app.height})`);
+ const forceMax = useMediaQuery(`(max-width: ${app.width}), (max-height: ${app.height})`);
useEffect(() => {
move(app.name, winRef, setApps)