Better navbar icon sizes

Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
Julius Volz 2024-02-23 14:19:46 +01:00
parent 096acdce7e
commit ce1ca6481e

View file

@ -136,7 +136,7 @@ function App() {
component={NavLink} component={NavLink}
to="/graph" to="/graph"
className={classes.link} className={classes.link}
leftSection={<IconChartAreaFilled size={16} />} leftSection={<IconChartAreaFilled size={14} />}
> >
Graph Graph
</Button> </Button>
@ -144,7 +144,7 @@ function App() {
component={NavLink} component={NavLink}
to="/alerts" to="/alerts"
className={classes.link} className={classes.link}
leftSection={<IconBellFilled size={16} />} leftSection={<IconBellFilled size={14} />}
> >
Alerts Alerts
</Button> </Button>
@ -162,9 +162,9 @@ function App() {
to={p.path} to={p.path}
className={classes.link} className={classes.link}
leftSection={p.icon} leftSection={p.icon}
rightSection={<IconChevronDown size={16} />} rightSection={<IconChevronDown size={14} />}
> >
Status <IconChevronRight size={16} /> {p.title} Status <IconChevronRight size={14} /> {p.title}
</Button> </Button>
</Menu.Target> </Menu.Target>
} }
@ -178,8 +178,8 @@ function App() {
component={NavLink} component={NavLink}
to="/" to="/"
className={classes.link} className={classes.link}
leftSection={<IconFileAnalytics size={16} />} leftSection={<IconFileAnalytics size={14} />}
rightSection={<IconChevronDown size={16} />} rightSection={<IconChevronDown size={14} />}
onClick={(e) => { onClick={(e) => {
e.preventDefault(); e.preventDefault();
}} }}
@ -223,7 +223,7 @@ function App() {
component="a" component="a"
href="https://prometheus.io/docs/prometheus/latest/getting_started/" href="https://prometheus.io/docs/prometheus/latest/getting_started/"
className={classes.link} className={classes.link}
leftSection={<IconHelp size={16} />} leftSection={<IconHelp size={14} />}
target="_blank" target="_blank"
> >
Help Help