1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

minor mobile fixes

This commit is contained in:
Luke Pulverenti 2013-12-27 00:13:19 -05:00
parent 125c24ed56
commit 728e0003b2
2 changed files with 5 additions and 2 deletions

View file

@ -254,7 +254,7 @@ h1 .imageLink {
.content-secondary h1 { .content-secondary h1 {
margin: 0; margin: 0;
padding: 20px 0 15px 20px; padding: 20px 0 25px 20px;
color: #fff; color: #fff;
} }

View file

@ -612,7 +612,10 @@ var Dashboard = {
headerHtml += '</a>'; headerHtml += '</a>';
if (user.Configuration.IsAdministrator) { if (user.Configuration.IsAdministrator) {
headerHtml += '<a class="imageLink btnTools" href="dashboard.html" data-role="button" data-icon="gear" data-inline="true" data-iconpos="notext">Tools</a>';
var href = window.location.toString().toLowerCase().indexOf('dashboard.html') == -1 ? 'dashboard.html' : '#';
headerHtml += '<a class="imageLink btnTools" href="' + href + '" data-role="button" data-icon="gear" data-inline="true" data-iconpos="notext">Tools</a>';
} }
} }