mobile mode

This commit is contained in:
ari committed 2022-05-16 21:50:05 -04:00
1 parent b342088b96
commit f50f22190e
4 files changed
+110 -15

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
import { FC } from "react";
import useWindowSize from "utils/useWindowSize";
export const SizeModal: FC = () => {
const size = useWindowSize();
return <span style={{
position: 'absolute',
top: 0,
left: 0,
background: 'white',
zIndex: 10,
}}>{size.width}/{size.height}={size.ratioWbh} ({size.isMobile ? 'm' : 'd'})</span>
}