mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-26 04:23:00 +00:00
size fixed in the vertical nav bar
This commit is contained in:
parent
b23177ee7e
commit
5b66cd17d5
2 changed files with 6 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ const VerticalNavBar = React.memo(({ className, route, tabs }) => {
|
||||||
tabs.map((tab, index) => (
|
tabs.map((tab, index) => (
|
||||||
<NavTabButton
|
<NavTabButton
|
||||||
key={index}
|
key={index}
|
||||||
direction={'vertical'}
|
className={styles['nav-tab-button']}
|
||||||
selected={tab.route === route}
|
selected={tab.route === route}
|
||||||
href={tab.href}
|
href={tab.href}
|
||||||
icon={tab.icon}
|
icon={tab.icon}
|
||||||
|
|
|
||||||
|
|
@ -8,4 +8,9 @@
|
||||||
&::-webkit-scrollbar {
|
&::-webkit-scrollbar {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nav-tab-button {
|
||||||
|
width: var(--vertical-nav-bar-size);
|
||||||
|
height: var(--vertical-nav-bar-size);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue