mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
refactor(NavBar): remove settings tab on mobile
This commit is contained in:
parent
f6c4e66c77
commit
098a6cb6ff
1 changed files with 12 additions and 13 deletions
|
|
@ -9,6 +9,7 @@
|
|||
align-items: center;
|
||||
gap: 1rem;
|
||||
width: var(--vertical-nav-bar-size);
|
||||
padding: 1rem 0;
|
||||
background-color: transparent;
|
||||
overflow-y: auto;
|
||||
scrollbar-width: none;
|
||||
|
|
@ -20,14 +21,6 @@
|
|||
.nav-tab-button {
|
||||
width: calc(var(--vertical-nav-bar-size) - 1.5rem);
|
||||
height: calc(var(--vertical-nav-bar-size) - 1.5rem);
|
||||
|
||||
&:first-child {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -45,12 +38,18 @@
|
|||
.nav-tab-button {
|
||||
flex: none;
|
||||
|
||||
&:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-height: @minimum) {
|
||||
.vertical-nav-bar-container {
|
||||
.nav-tab-button {
|
||||
&:last-child {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue