diff options
author | 2021-09-04 00:35:54 +0200 | |
---|---|---|
committer | 2021-09-04 00:35:54 +0200 | |
commit | 467233f771d745aeb9f4e69b93d2fb24a1a95d3e (patch) | |
tree | 82e56bc8fb85eafdc010a2f6bd99f02ee6259ffe /components/App.js | |
parent | f08f6ca0a9d337efff280d4d1669a41b5d9c31c2 (diff) | |
download | my_apps-467233f771d745aeb9f4e69b93d2fb24a1a95d3e.tar.gz my_apps-467233f771d745aeb9f4e69b93d2fb24a1a95d3e.tar.bz2 my_apps-467233f771d745aeb9f4e69b93d2fb24a1a95d3e.zip |
media query fix
Diffstat (limited to 'components/App.js')
-rw-r--r-- | components/App.js | 2 |
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) |