fix: "Forgot passcode" and "Switch workspace" lock screen options not working on mobile (#1850)
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user