Tighten dev switcher collapse and add bottom nav spacing
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled

This commit is contained in:
Codex Agent
2026-02-04 09:02:00 +01:00
parent cffe8e6cd4
commit 0e32baee05
2 changed files with 13 additions and 6 deletions

View File

@@ -79,10 +79,14 @@ export function DevTenantSwitcher({ bottomOffset = 16, variant = 'floating' }: D
size="$2"
theme="yellow"
onPress={() => setCollapsed(false)}
borderRadius={999}
circular
minWidth={0}
width={34}
height={34}
padding={0}
icon={<PanelRightOpen size={16} />}
aria-label="Demo tenants anzeigen"
>
Demo tenants
</Button>
);
}
@@ -144,14 +148,18 @@ export function DevTenantSwitcher({ bottomOffset = 16, variant = 'floating' }: D
size="$3"
theme="yellow"
icon={<PanelRightOpen size={16} />}
borderRadius={999}
circular
minWidth={0}
width={40}
height={40}
padding={0}
position="fixed"
right="$4"
zIndex={1000}
onPress={() => setCollapsed(false)}
aria-label="Demo tenants anzeigen"
style={{ bottom: bottomOffset + 70 }}
>
Demo tenants
</Button>
);
}