From 5b80ad045bafc86e419c863f84e550e09013f248 Mon Sep 17 00:00:00 2001 From: Aakansha Doshi Date: Sat, 9 May 2020 18:17:22 +0530 Subject: [PATCH] show reset icon with zoom percentage during zen mode (#1540) --- src/components/LayerUI.scss | 8 ++++---- src/components/LayerUI.tsx | 6 ++++-- src/components/LockIcon.tsx | 2 +- src/components/ToolIcon.scss | 12 ------------ src/css/styles.scss | 26 ++++++++++++++++++++++++++ 5 files changed, 35 insertions(+), 19 deletions(-) diff --git a/src/components/LayerUI.scss b/src/components/LayerUI.scss index 32c851a9..3fb1b923 100644 --- a/src/components/LayerUI.scss +++ b/src/components/LayerUI.scss @@ -105,6 +105,10 @@ :root[dir="rtl"] &.transition-right { transform: translate(-999px, 0); } + + &.App-menu_bottom--transition-left { + transform: translate(-92px, 0); + } } .disable-zen-mode { @@ -127,7 +131,3 @@ } } } - -.disable-pointerEvents { - pointer-events: none !important; -} diff --git a/src/components/LayerUI.tsx b/src/components/LayerUI.tsx index ac9e111d..f59c147a 100644 --- a/src/components/LayerUI.tsx +++ b/src/components/LayerUI.tsx @@ -62,7 +62,9 @@ const LayerUI = ({ const renderEncryptedIcon = () => ( diff --git a/src/components/LockIcon.tsx b/src/components/LockIcon.tsx index b73c15c6..dfd32980 100644 --- a/src/components/LockIcon.tsx +++ b/src/components/LockIcon.tsx @@ -46,7 +46,7 @@ export function LockIcon(props: LockIconProps) { return (