mirror of
https://github.com/deiucanta/chatpad.git
synced 2026-03-11 09:04:31 +00:00
change navbar breakpoint to md
This commit is contained in:
parent
61f073d0e2
commit
5756fb44ca
2 changed files with 4 additions and 4 deletions
|
|
@ -70,7 +70,7 @@ export function Layout() {
|
|||
<AppShell
|
||||
navbarOffsetBreakpoint="sm"
|
||||
navbar={
|
||||
<Navbar width={{ lg: 300 }} hiddenBreakpoint="lg" hidden={!opened}>
|
||||
<Navbar width={{ md: 300 }} hiddenBreakpoint="md" hidden={!opened}>
|
||||
<Navbar.Section className="app-region-drag">
|
||||
<Box
|
||||
style={{
|
||||
|
|
@ -94,7 +94,7 @@ export function Layout() {
|
|||
}}
|
||||
/>
|
||||
</Link>
|
||||
<MediaQuery largerThan="lg" styles={{ display: "none" }}>
|
||||
<MediaQuery largerThan="md" styles={{ display: "none" }}>
|
||||
<Burger
|
||||
opened={opened}
|
||||
onClick={() => setOpened((o) => !o)}
|
||||
|
|
@ -246,7 +246,7 @@ export function Layout() {
|
|||
layout="alt"
|
||||
padding={0}
|
||||
>
|
||||
<MediaQuery largerThan="lg" styles={{ display: "none" }}>
|
||||
<MediaQuery largerThan="md" styles={{ display: "none" }}>
|
||||
<Burger
|
||||
opened={opened}
|
||||
onClick={() => setOpened((o) => !o)}
|
||||
|
|
|
|||
|
|
@ -207,7 +207,7 @@ export function ChatRoute() {
|
|||
bottom: 0,
|
||||
left: 0,
|
||||
right: 0,
|
||||
[`@media (min-width: ${theme.breakpoints.lg})`]: {
|
||||
[`@media (min-width: ${theme.breakpoints.md})`]: {
|
||||
left: 300,
|
||||
},
|
||||
backgroundColor:
|
||||
|
|
|
|||
Loading…
Reference in a new issue