diff --git a/phone/src/Phone.css b/phone/src/Phone.css index 616c518..bd517ae 100644 --- a/phone/src/Phone.css +++ b/phone/src/Phone.css @@ -1,12 +1,13 @@ .PhoneWrapper { width: 100vw; height: 100vh; + position: relative; } .Phone { position: absolute; - bottom: 0vh; - right: 0vh; + bottom: 0; + right: 0; width: 500px; height: 1000px; background-size: cover; @@ -58,3 +59,8 @@ *::-webkit-scrollbar-thumb { background-color: #666; } + + +.zoomProp { + transform: scale(10); +} \ No newline at end of file diff --git a/phone/src/Phone.tsx b/phone/src/Phone.tsx index b507192..e2a7d94 100644 --- a/phone/src/Phone.tsx +++ b/phone/src/Phone.tsx @@ -324,8 +324,11 @@ function Phone() { return (
-
-
+
+
({ width: '20%', }, tooltip: { - bottom: -8, fontSize: 12, }, })); @@ -21,6 +21,7 @@ const useStyles = makeStyles((theme) => ({ export const GridMenu = ({ items, Component = AppIcon }) => { const setKey = useKeyboard(); const classes = useStyles(); + const { t } = useTranslation(); useEffect(function registerKeyHandlers() { setKey('ArrowLeft', () => { @@ -28,32 +29,31 @@ export const GridMenu = ({ items, Component = AppIcon }) => { }); // eslint-disable-next-line }, []); - + // TODO: Fix tooltip position to be closer to app icon return ( {items && items.length && items.map((item) => ( - // - - - - // + + + + ))}