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:
parent
125c24ed56
commit
728e0003b2
2 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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>';
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue