size fixed in the vertical nav bar

This commit is contained in:
nklhrstv 2020-02-19 12:04:37 +02:00
parent b23177ee7e
commit 5b66cd17d5
2 changed files with 6 additions and 1 deletions

View file

@ -12,7 +12,7 @@ const VerticalNavBar = React.memo(({ className, route, tabs }) => {
tabs.map((tab, index) => (
<NavTabButton
key={index}
direction={'vertical'}
className={styles['nav-tab-button']}
selected={tab.route === route}
href={tab.href}
icon={tab.icon}

View file

@ -8,4 +8,9 @@
&::-webkit-scrollbar {
display: none;
}
.nav-tab-button {
width: var(--vertical-nav-bar-size);
height: var(--vertical-nav-bar-size);
}
}