Refine admin PWA dark theme controls
This commit is contained in:
@@ -10,6 +10,7 @@ import { adminPath } from '../../constants';
|
||||
|
||||
const ICON_SIZE = 24;
|
||||
export const BOTTOM_NAV_HEIGHT = 70;
|
||||
export const BOTTOM_NAV_PADDING = 8;
|
||||
|
||||
export type NavKey = 'home' | 'tasks' | 'uploads' | 'profile';
|
||||
|
||||
@@ -51,7 +52,7 @@ export function BottomNav({ active, onNavigate }: { active: NavKey; onNavigate:
|
||||
shadowRadius={20}
|
||||
shadowOffset={{ width: 0, height: -8 }}
|
||||
style={{
|
||||
paddingBottom: 'max(env(safe-area-inset-bottom, 0px), 8px)',
|
||||
paddingBottom: `calc(env(safe-area-inset-bottom, 0px) + ${BOTTOM_NAV_PADDING}px)`,
|
||||
backdropFilter: 'blur(20px)',
|
||||
WebkitBackdropFilter: 'blur(20px)',
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user