File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -332,14 +332,16 @@ function App() {
332332 justify = "space-between"
333333 wrap = "nowrap"
334334 >
335- < Group gap = { 65 } wrap = "nowrap" >
335+ < Group gap = { 40 } wrap = "nowrap" >
336336 < Link
337337 to = "/"
338338 style = { { textDecoration : "none" , color : "white" } }
339339 >
340340 < Group gap = { 10 } wrap = "nowrap" >
341341 < img src = { PrometheusLogo } height = { 30 } />
342- < Text fz = { 20 } > Prometheus{ agentMode && " Agent" } </ Text >
342+ < Text hiddenFrom = "sm" fz = { 20 } > Prometheus</ Text >
343+ < Text visibleFrom = "md" fz = { 20 } > Prometheus</ Text >
344+ < Text fz = { 20 } > { agentMode && "Agent" } </ Text >
343345 </ Group >
344346 </ Link >
345347 < Group gap = { 12 } visibleFrom = "sm" wrap = "nowrap" >
Original file line number Diff line number Diff line change 11import { useMantineColorScheme , rem , ActionIcon } from "@mantine/core" ;
22import {
3- IconBrightnessFilled ,
43 IconMoonFilled ,
54 IconSunFilled ,
5+ IconBrightnessFilled ,
66} from "@tabler/icons-react" ;
77import { FC } from "react" ;
88
@@ -30,11 +30,11 @@ export const ThemeSelector: FC = () => {
3030 }
3131 >
3232 { colorScheme === "light" ? (
33- < IconMoonFilled { ...iconProps } />
33+ < IconSunFilled { ...iconProps } />
3434 ) : colorScheme === "dark" ? (
35- < IconBrightnessFilled { ...iconProps } />
35+ < IconMoonFilled { ...iconProps } />
3636 ) : (
37- < IconSunFilled { ...iconProps } />
37+ < IconBrightnessFilled { ...iconProps } />
3838 ) }
3939 </ ActionIcon >
4040 ) ;
You can’t perform that action at this time.
0 commit comments