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

Implement fix for issue #2314: Add padding to itemsContainers in library views to prevent music control clipping

This commit is contained in:
Aleksi Viitala 2021-02-22 16:23:51 +02:00
parent 6a60938b09
commit 10def79586
3 changed files with 5 additions and 3 deletions

View file

@ -1052,7 +1052,8 @@ div.itemDetailGalleryLink.defaultCardBackground {
} }
.itemsContainer { .itemsContainer {
margin: 0 auto; margin-left: auto;
margin-right: auto;
} }
@media all and (max-height: 31.25em) { @media all and (max-height: 31.25em) {

View file

@ -81,7 +81,8 @@ div[data-role="page"] {
.content-primary, .content-primary,
.padded-bottom-page, .padded-bottom-page,
.page, .page,
.pageWithAbsoluteTabs .pageTabContent { .pageWithAbsoluteTabs .pageTabContent,
.itemsContainer {
/* provides room for the music controls */ /* provides room for the music controls */
padding-bottom: 5em !important; padding-bottom: 5em !important;
} }

View file

@ -48,7 +48,7 @@
<span class="material-icons more_vert"></span> <span class="material-icons more_vert"></span>
</button> </button>
</div> </div>
<div is="emby-itemscontainer" class="vertical-wrap itemsContainer centered" style="padding: 0 0 10vh 0;"> <div is="emby-itemscontainer" class="vertical-wrap itemsContainer centered">
</div> </div>
</div> </div>
</div> </div>