mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-03 23:30:09 -05:00
[web] Fix dropdown control being too wide on mobile
This commit is contained in:
parent
eca8f40afc
commit
55720b8182
@ -45,7 +45,7 @@
|
||||
class="dropdown is-up is-right"
|
||||
:class="{ 'is-active': uiStore.show_player_menu }"
|
||||
>
|
||||
<div class="dropdown-menu">
|
||||
<div class="dropdown-menu is-mobile">
|
||||
<div class="dropdown-content">
|
||||
<div class="dropdown-item pt-0">
|
||||
<control-main-volume />
|
||||
|
@ -63,7 +63,7 @@
|
||||
class="dropdown is-right"
|
||||
:class="{ 'is-active': uiStore.show_burger_menu }"
|
||||
>
|
||||
<div class="dropdown-menu">
|
||||
<div class="dropdown-menu is-mobile">
|
||||
<div class="dropdown-content">
|
||||
<control-link class="dropdown-item" :to="{ name: 'playlists' }">
|
||||
<span class="icon-text">
|
||||
|
@ -41,13 +41,12 @@
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
.dropdown-menu.is-mobile {
|
||||
@include mixins.mobile {
|
||||
width: 100vw;
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-content {
|
||||
.dropdown-content {
|
||||
max-height: calc(100vh - calc(2 * var(--bulma-navbar-height)));
|
||||
overflow: auto;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user