Mobile height fix
This commit is contained in:
@@ -101,7 +101,6 @@ export const BottomNav = (): JSX.Element => {
|
||||
|
||||
<div className="flex-grow">
|
||||
<BottomNavItem
|
||||
tooltip="Toggle Navigation"
|
||||
onClick={(): void => {
|
||||
dispatch(toggleMobileNav());
|
||||
}}
|
||||
|
||||
@@ -5,7 +5,7 @@ import { m } from 'framer-motion';
|
||||
import { Tooltip } from '@components/generic/Tooltip';
|
||||
|
||||
export interface BottomNavItemProps {
|
||||
tooltip: string;
|
||||
tooltip?: string;
|
||||
onClick?: () => void;
|
||||
className?: string;
|
||||
children: React.ReactNode;
|
||||
|
||||
@@ -70,6 +70,7 @@ export const VersionInfo = ({
|
||||
<Modal
|
||||
title="Version Info"
|
||||
actions={
|
||||
// TODO: Check if version is hosted, and merge pwa update button here
|
||||
appState.updateAvaliable && (
|
||||
<a href={`http://${connectionUrl}/admin/spiffs`}>
|
||||
<IconButton tooltip="Update now" icon={<MdUpgrade />} />
|
||||
|
||||
Reference in New Issue
Block a user