mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 15:45:56 -05:00
[web] Fix for full height not taking into account both navigation bars
This commit is contained in:
parent
9f9420f713
commit
4332a43fb9
@ -76,8 +76,7 @@ a.navbar-item {
|
|||||||
margin-top: $navbar-height !important;
|
margin-top: $navbar-height !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Set minimum height to hide "option" section */
|
.is-full-height {
|
||||||
.fd-content-with-option {
|
|
||||||
min-height: calc(100vh - calc(2 * $navbar-height));
|
min-height: calc(100vh - calc(2 * $navbar-height));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="hero is-fullheight">
|
<div class="hero is-full-height">
|
||||||
<div v-if="track.id > 0" class="hero-body">
|
<div v-if="track.id > 0" class="hero-body">
|
||||||
<div class="container has-text-centered" style="max-width: 500px">
|
<div class="container has-text-centered" style="max-width: 500px">
|
||||||
<cover-artwork
|
<cover-artwork
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
/></router-link>
|
/></router-link>
|
||||||
</nav>
|
</nav>
|
||||||
</section>
|
</section>
|
||||||
<div :class="{ 'fd-content-with-option': $slots.options }">
|
<div :class="{ 'is-full-height': $slots.options }">
|
||||||
<nav id="top" class="level is-clipped">
|
<nav id="top" class="level is-clipped">
|
||||||
<!-- Left side -->
|
<!-- Left side -->
|
||||||
<div class="level-left is-flex-shrink-1">
|
<div class="level-left is-flex-shrink-1">
|
||||||
|
Loading…
Reference in New Issue
Block a user