mirror of
https://github.com/umami-software/umami.git
synced 2026-02-03 20:27:13 +01:00
This commit is contained in:
parent
9b310dacef
commit
abfb78bb98
3 changed files with 5 additions and 5 deletions
|
|
@ -42,7 +42,7 @@ export function MobileNav() {
|
|||
{({ close }) => {
|
||||
return (
|
||||
<>
|
||||
<NavMenu padding="3" onItemClick={close} border="bottom">
|
||||
<NavMenu padding="3" onItemClick={close} border="bottom" width="100%">
|
||||
<NavButton />
|
||||
{links.map(link => {
|
||||
return (
|
||||
|
|
|
|||
|
|
@ -144,12 +144,12 @@ export function ShareNav({
|
|||
position={isMobile ? undefined : 'fixed'}
|
||||
padding="3"
|
||||
width={isMobile ? '100%' : collapsed ? '60px' : '240px'}
|
||||
maxHeight="100vh"
|
||||
height="100vh"
|
||||
maxHeight="100dvh"
|
||||
height="100dvh"
|
||||
border={isMobile ? undefined : 'right'}
|
||||
borderColor={isMobile ? undefined : '4'}
|
||||
>
|
||||
<Row as="header" gap alignItems="center" paddingY="3" justifyContent="space-between">
|
||||
<Row as="header" gap alignItems="center" justifyContent="space-between">
|
||||
{!collapsed && (
|
||||
<a href={logoUrl} target="_blank" rel="noopener" style={{ marginLeft: 12 }}>
|
||||
<Row alignItems="center" gap>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ export function MobileMenuButton(props: DialogProps) {
|
|||
<Menu />
|
||||
</Icon>
|
||||
</Button>
|
||||
<Modal placement="left">
|
||||
<Modal placement="left" offset="80px">
|
||||
<Dialog variant="sheet" {...props} style={{ width: 'auto' }} />
|
||||
</Modal>
|
||||
</DialogTrigger>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue