mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
revert back padded-left and padded-right
This commit is contained in:
parent
156f162d2e
commit
e09f868d99
1 changed files with 6 additions and 6 deletions
|
@ -1528,12 +1528,12 @@ define(["loading", "appRouter", "layoutManager", "userSettings", "connectionMana
|
|||
if (!(currentStartDate && currentStartDate.toDateString() === itemStartDate.toDateString())) {
|
||||
if (currentItems.length) {
|
||||
html += '<div class="verticalSection verticalDetailSection">';
|
||||
html += '<h2 class="sectionTitle">' + datetime.toLocaleDateString(currentStartDate, {
|
||||
html += '<h2 class="sectionTitle padded-left">' + datetime.toLocaleDateString(currentStartDate, {
|
||||
weekday: "long",
|
||||
month: "long",
|
||||
day: "numeric"
|
||||
}) + "</h2>";
|
||||
html += '<div is="emby-itemscontainer" class="vertical-list">' + listView.getListViewHtml({
|
||||
html += '<div is="emby-itemscontainer" class="vertical-list padded-left padded-right">' + listView.getListViewHtml({
|
||||
items: currentItems,
|
||||
enableUserDataButtons: false,
|
||||
showParentTitle: true,
|
||||
|
@ -1553,12 +1553,12 @@ define(["loading", "appRouter", "layoutManager", "userSettings", "connectionMana
|
|||
|
||||
if (currentItems.length) {
|
||||
html += '<div class="verticalSection verticalDetailSection">';
|
||||
html += '<h2 class="sectionTitle">' + datetime.toLocaleDateString(currentStartDate, {
|
||||
html += '<h2 class="sectionTitle padded-left">' + datetime.toLocaleDateString(currentStartDate, {
|
||||
weekday: "long",
|
||||
month: "long",
|
||||
day: "numeric"
|
||||
}) + "</h2>";
|
||||
html += '<div is="emby-itemscontainer" class="vertical-list">' + listView.getListViewHtml({
|
||||
html += '<div is="emby-itemscontainer" class="vertical-list padded-left padded-right">' + listView.getListViewHtml({
|
||||
items: currentItems,
|
||||
enableUserDataButtons: false,
|
||||
showParentTitle: true,
|
||||
|
@ -1725,13 +1725,13 @@ define(["loading", "appRouter", "layoutManager", "userSettings", "connectionMana
|
|||
function renderCollectionItemType(page, parentItem, type, items) {
|
||||
var html = "";
|
||||
html += '<div class="verticalSection">';
|
||||
html += '<div class="sectionTitleContainer sectionTitleContainer-cards">';
|
||||
html += '<div class="sectionTitleContainer sectionTitleContainer-cards padded-left">';
|
||||
html += '<h2 class="sectionTitle sectionTitle-cards">';
|
||||
html += "<span>" + type.name + "</span>";
|
||||
html += "</h2>";
|
||||
html += '<button class="btnAddToCollection sectionTitleButton" type="button" is="paper-icon-button-light" style="margin-left:1em;"><i class="md-icon" icon="add">add</i></button>';
|
||||
html += "</div>";
|
||||
html += '<div is="emby-itemscontainer" class="itemsContainer collectionItemsContainer vertical-wrap">';
|
||||
html += '<div is="emby-itemscontainer" class="itemsContainer collectionItemsContainer vertical-wrap padded-left padded-right">';
|
||||
var shape = "MusicAlbum" == type.type ? getSquareShape(false) : getPortraitShape(false);
|
||||
html += cardBuilder.getCardsHtml({
|
||||
items: items,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue