mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix TV layout
This commit is contained in:
parent
88d7f52ce7
commit
25b96643cf
4 changed files with 11 additions and 5 deletions
|
@ -178,6 +178,10 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.layout-tv .sectionTabs {
|
||||||
|
width: 55%;
|
||||||
|
}
|
||||||
|
|
||||||
.selectedMediaFolder {
|
.selectedMediaFolder {
|
||||||
background-color: #f2f2f2 !important;
|
background-color: #f2f2f2 !important;
|
||||||
}
|
}
|
||||||
|
@ -280,6 +284,10 @@
|
||||||
.sectionTabs {
|
.sectionTabs {
|
||||||
font-size: 83.5%;
|
font-size: 83.5%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.layout-tv .sectionTabs {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media all and (min-width: 100em) {
|
@media all and (min-width: 100em) {
|
||||||
|
|
|
@ -140,7 +140,7 @@ define(['dom', 'browser', 'events', 'emby-tabs', 'emby-button'], function (dom,
|
||||||
var index = 0;
|
var index = 0;
|
||||||
|
|
||||||
var indexAttribute = selectedIndex == null ? '' : (' data-index="' + selectedIndex + '"');
|
var indexAttribute = selectedIndex == null ? '' : (' data-index="' + selectedIndex + '"');
|
||||||
var tabsHtml = '<div is="emby-tabs"' + indexAttribute + ' class="tabs-viewmenubar"><div class="emby-tabs-slider" style="white-space:nowrap;">' + getTabsFn().map(function (t) {
|
var tabsHtml = '<div is="emby-tabs"' + indexAttribute + ' class="tabs-viewmenubar"><div class="emby-tabs-slider scrollX" style="white-space:nowrap;">' + getTabsFn().map(function (t) {
|
||||||
|
|
||||||
var tabClass = 'emby-tab-button';
|
var tabClass = 'emby-tab-button';
|
||||||
|
|
||||||
|
|
|
@ -31,11 +31,8 @@
|
||||||
|
|
||||||
.emby-tabs-slider {
|
.emby-tabs-slider {
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.layout-mobile .emby-tabs-slider {
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
overflow-y: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabContent:not(.is-active) {
|
.tabContent:not(.is-active) {
|
||||||
|
|
|
@ -437,6 +437,7 @@ html {
|
||||||
|
|
||||||
.layout-desktop ::-webkit-scrollbar {
|
.layout-desktop ::-webkit-scrollbar {
|
||||||
width: 0.4em;
|
width: 0.4em;
|
||||||
|
height: 0.4em;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar-thumb:horizontal,
|
::-webkit-scrollbar-thumb:horizontal,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue