fix: "Forgot passcode" and "Switch workspace" lock screen options not working on mobile (#1850)

This commit is contained in:
Aman Harwara
2022-10-20 16:26:21 +05:30
committed by GitHub
parent fb7b9350b2
commit 57fab4f670
2 changed files with 2 additions and 2 deletions

View File

@@ -58,7 +58,7 @@ const PositionedPopoverContent = ({
<Portal>
<div
className={classNames(
'absolute top-0 left-0 flex h-full w-full min-w-80 cursor-auto flex-col overflow-y-auto rounded bg-default shadow-main md:h-auto md:max-w-xs',
'absolute top-0 left-0 flex h-screen w-full min-w-80 cursor-auto flex-col overflow-y-auto rounded bg-default shadow-main md:h-auto md:max-w-xs',
overrideZIndex ? overrideZIndex : 'z-dropdown-menu',
!isDesktopScreen ? 'pt-safe-top pb-safe-bottom' : '',
!styles && 'md:invisible',

View File

@@ -45,7 +45,7 @@
bottom: 0;
z-index: var(--z-index-modal);
width: 100%;
height: 100%;
height: var(--viewport-height, 100vh);
padding-left: 1rem;
padding-right: 1rem;