mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-19 04:49:36 -07:00
Create body container so scrollbar is beneath navbar
This commit is contained in:
parent
1e57e952db
commit
7328fcd0fb
2 changed files with 28 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
<%
|
||||
<%
|
||||
import plexpy
|
||||
from plexpy import version
|
||||
%>
|
||||
|
@ -52,7 +52,7 @@ from plexpy import version
|
|||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="home">
|
||||
<img alt="PlexPy" src="interfaces/default/images/logo-plexpy@2x.png" height="40px">
|
||||
<img alt="PlexPy" src="interfaces/default/images/logo-plexpy@2x.png" height="40">
|
||||
</a>
|
||||
</div>
|
||||
<div class="collapse navbar-collapse navbar-right" id="navbar-collapse-1">
|
||||
|
@ -99,7 +99,9 @@ from plexpy import version
|
|||
</div>
|
||||
|
||||
${next.headerIncludes()}
|
||||
<div class="body-container">
|
||||
${next.body()}
|
||||
</div>
|
||||
|
||||
<script src="interfaces/default/js/jquery-2.1.4.min.js"></script>
|
||||
<script src="interfaces/default/js/bootstrap3/bootstrap.min.js"></script>
|
||||
|
|
|
@ -1748,3 +1748,26 @@ a .home-platforms-instance-box:hover {
|
|||
#updatebar a:hover {
|
||||
color: #F9AA03;
|
||||
}
|
||||
.body-container {
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
|
||||
}
|
||||
::-webkit-scrollbar {
|
||||
width: 15px;
|
||||
}
|
||||
::-webkit-scrollbar-track {
|
||||
background-color: rgba(0,0,0,.2);
|
||||
}
|
||||
::-webkit-scrollbar-thumb {
|
||||
min-height: 50px;
|
||||
background-color: rgba(255,255,255,.15);
|
||||
border: 3px solid transparent;
|
||||
border-radius: 8px;
|
||||
background-clip: padding-box;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue