Skip to content

Commit b11b6ef

Browse files
committed
changed-mantine-ui-navbar-breakpoints
Signed-off-by: amanycodes <amanycodes@gmail.com>
1 parent 2037111 commit b11b6ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

web/ui/mantine-ui/src/App.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ function App() {
319319
width: 300,
320320
// TODO: On pages with a long title like "/status", the navbar
321321
// breaks in an ugly way for narrow windows. Fix this.
322-
breakpoint: "sm",
322+
breakpoint: "md",
323323
collapsed: { desktop: true, mobile: !opened },
324324
}}
325325
padding="md"
@@ -342,7 +342,7 @@ function App() {
342342
<Text fz={20}>Prometheus{agentMode && " Agent"}</Text>
343343
</Group>
344344
</Link>
345-
<Group gap={12} visibleFrom="sm" wrap="nowrap">
345+
<Group gap={12} visibleFrom="md" wrap="nowrap">
346346
{navLinks}
347347
</Group>
348348
</Group>
@@ -353,7 +353,7 @@ function App() {
353353
<Burger
354354
opened={opened}
355355
onClick={toggle}
356-
hiddenFrom="sm"
356+
hiddenFrom="md"
357357
size="sm"
358358
color="gray.2"
359359
/>

0 commit comments

Comments
 (0)