From 5da2d680c66b0a005f36d799d0f1f26acd06d0a4 Mon Sep 17 00:00:00 2001 From: Christopher Date: Thu, 4 Feb 2021 20:42:53 +0100 Subject: [PATCH] fix(zoom): inital commit on possbile fix --- phone/src/Phone.css | 5 ++++ phone/src/Phone.tsx | 4 +-- .../apps/settings/components/SettingItem.tsx | 2 +- phone/src/config/default.json | 4 +-- phone/src/ui/components/GridMenu.tsx | 26 +++++++++---------- 5 files changed, 22 insertions(+), 19 deletions(-) diff --git a/phone/src/Phone.css b/phone/src/Phone.css index 616c518..593f50e 100644 --- a/phone/src/Phone.css +++ b/phone/src/Phone.css @@ -58,3 +58,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..76093f1 100644 --- a/phone/src/Phone.tsx +++ b/phone/src/Phone.tsx @@ -323,8 +323,8 @@ function Phone() { return ( -
-
+
+
({ width: '20%', }, tooltip: { - bottom: -8, + bottom: 0, fontSize: 12, }, })); export const GridMenu = ({ items, Component = AppIcon }) => { + const { t } = useTranslation(); const setKey = useKeyboard(); const classes = useStyles(); - useEffect(function registerKeyHandlers() { setKey('ArrowLeft', () => { console.log(':v'); }); - // eslint-disable-next-line + // eslint-disable-next-linep }, []); return ( @@ -35,15 +36,12 @@ export const GridMenu = ({ items, Component = AppIcon }) => { {items && items.length && items.map((item) => ( - // + { > - // + ))}