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

update list classes

This commit is contained in:
Luke Pulverenti 2016-07-30 01:25:07 -04:00
parent ebe4dc0ca5
commit b160cd48a3
19 changed files with 46 additions and 40 deletions

View file

@ -17,13 +17,19 @@
display: flex;
}
.verticalItemsContainer {
.vertical-list {
display: flex;
flex-direction: column;
flex-wrap: nowrap;
}
.vertical-wrap {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.verticalItemsContainer .card {
.vertical-wrap .card {
contain: strict;
}

View file

@ -248,7 +248,7 @@ define(['datetime', 'imageLoader', 'connectionManager', 'itemHelper', 'mediaInfo
}
html += '<' + sectionTitleTagName + ' class="sectionTitle">' + newIndexValue + '</' + sectionTitleTagName + '>';
if (isVertical) {
html += '<div class="itemsContainer verticalItemsContainer">';
html += '<div class="itemsContainer vertical-wrap">';
}
currentIndexValue = newIndexValue;
hasOpenSection = true;