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>
|
<Portal>
|
||||||
<div
|
<div
|
||||||
className={classNames(
|
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',
|
overrideZIndex ? overrideZIndex : 'z-dropdown-menu',
|
||||||
!isDesktopScreen ? 'pt-safe-top pb-safe-bottom' : '',
|
!isDesktopScreen ? 'pt-safe-top pb-safe-bottom' : '',
|
||||||
!styles && 'md:invisible',
|
!styles && 'md:invisible',
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
bottom: 0;
|
bottom: 0;
|
||||||
z-index: var(--z-index-modal);
|
z-index: var(--z-index-modal);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: var(--viewport-height, 100vh);
|
||||||
|
|
||||||
padding-left: 1rem;
|
padding-left: 1rem;
|
||||||
padding-right: 1rem;
|
padding-right: 1rem;
|
||||||
|
|||||||
Reference in New Issue
Block a user