mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #1437 from ferferga/header-css
CSS fixes when resizing library browser
This commit is contained in:
commit
cf2357dad3
4 changed files with 14 additions and 22 deletions
|
@ -175,6 +175,10 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.layout-tv .sectionTabs {
|
||||||
|
width: 55%;
|
||||||
|
}
|
||||||
|
|
||||||
.selectedMediaFolder {
|
.selectedMediaFolder {
|
||||||
background-color: #f2f2f2 !important;
|
background-color: #f2f2f2 !important;
|
||||||
}
|
}
|
||||||
|
@ -269,7 +273,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media all and (max-width: 84em) {
|
@media all and (max-width: 100em) {
|
||||||
.withSectionTabs .headerTop {
|
.withSectionTabs .headerTop {
|
||||||
padding-bottom: 0.55em;
|
padding-bottom: 0.55em;
|
||||||
}
|
}
|
||||||
|
@ -277,9 +281,13 @@
|
||||||
.sectionTabs {
|
.sectionTabs {
|
||||||
font-size: 83.5%;
|
font-size: 83.5%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.layout-tv .sectionTabs {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media all and (min-width: 84em) {
|
@media all and (min-width: 100em) {
|
||||||
.headerTop {
|
.headerTop {
|
||||||
padding: 0.8em 0.8em;
|
padding: 0.8em 0.8em;
|
||||||
}
|
}
|
||||||
|
@ -910,21 +918,7 @@ div.itemDetailGalleryLink.defaultCardBackground {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media all and (min-width: 62.5em) {
|
@media all and (min-width: 100em) {
|
||||||
.headerTop {
|
|
||||||
padding-left: 0.8em;
|
|
||||||
padding-right: 0.8em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.headerTabs {
|
|
||||||
align-self: center;
|
|
||||||
width: auto;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
margin-top: -4.2em;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.detailFloatingButton {
|
.detailFloatingButton {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
.hiddenScrollX,
|
.hiddenScrollX,
|
||||||
.layout-tv .scrollX {
|
.layout-tv .scrollX {
|
||||||
-ms-overflow-style: none;
|
-ms-overflow-style: none;
|
||||||
|
scrollbar-width: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hiddenScrollX-forced {
|
.hiddenScrollX-forced {
|
||||||
|
@ -40,6 +41,7 @@
|
||||||
.hiddenScrollY,
|
.hiddenScrollY,
|
||||||
.layout-tv .smoothScrollY {
|
.layout-tv .smoothScrollY {
|
||||||
-ms-overflow-style: none;
|
-ms-overflow-style: none;
|
||||||
|
scrollbar-width: none;
|
||||||
|
|
||||||
/* Can't do this because it not only hides the scrollbar, but also prevents scrolling */
|
/* Can't do this because it not only hides the scrollbar, but also prevents scrolling */
|
||||||
|
|
||||||
|
|
|
@ -31,11 +31,6 @@
|
||||||
|
|
||||||
.emby-tabs-slider {
|
.emby-tabs-slider {
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.layout-mobile .emby-tabs-slider {
|
|
||||||
overflow: auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabContent:not(.is-active) {
|
.tabContent:not(.is-active) {
|
||||||
|
|
|
@ -432,6 +432,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