diff --git a/blocks/adp-collection-header/adp-collection-header.css b/blocks/adp-collection-header/adp-collection-header.css index 583eef83..20f3c73a 100644 --- a/blocks/adp-collection-header/adp-collection-header.css +++ b/blocks/adp-collection-header/adp-collection-header.css @@ -56,7 +56,6 @@ vertical-align: text-bottom; } -/*Todo New CSS */ .adp-collection-header-collection-info { display: flex; flex-direction: column; /* Stack the title and sub-info vertically */ diff --git a/blocks/adp-collection-header/adp-collection-header.js b/blocks/adp-collection-header/adp-collection-header.js index 14a5d17c..ec65b4ae 100644 --- a/blocks/adp-collection-header/adp-collection-header.js +++ b/blocks/adp-collection-header/adp-collection-header.js @@ -55,7 +55,7 @@ function createCollectionInfoHeader(collectionInfoHeader, collection) { 'Delete collection', `Are you sure you want to delete the collection "${collection.title}"?`, async () => { - await deleteCollection(collectionId, collection.title, collection.etag); + await deleteCollection(collectionId, collection.title); navigateTo(createLinkHref('/collections')); }, 'Proceed', diff --git a/blocks/adp-share-header/adp-share-header.css b/blocks/adp-share-header/adp-share-header.css index ff71afb3..f4656feb 100644 --- a/blocks/adp-share-header/adp-share-header.css +++ b/blocks/adp-share-header/adp-share-header.css @@ -1,6 +1,3 @@ -.section.adp-share-header-left-container { - padding-right: 0; -} .adp-share-header { display: flex; @@ -26,15 +23,6 @@ align-items: center; /* Centers items vertically */ } -.adp-share-stats { - border: #E6E6E6 1px solid; - border-radius: 6px; - font: 11px/14px var(--body-font-family); - padding: 6px 10px; - flex-shrink: 0; - margin-right: 20px; /* Adjust the 20px to whatever fixed space you want between the items and the checkbox */ -} - .adp-share-select-all { display: flex; align-items: center; /* This will vertically align the checkbox and label */ @@ -49,7 +37,7 @@ flex-direction: column; /* Stack the title and sub-info vertically */ } -.adp-share-header .adp-share-title { +.adp-share-header { font: var(--collection-heading-font); width: 100%; }