diff --git a/chrome/browser/resources/history/app.ts b/chrome/browser/resources/history/app.ts index 18cd310f679078..5db76465192201 100644 --- a/chrome/browser/resources/history/app.ts +++ b/chrome/browser/resources/history/app.ts @@ -447,10 +447,11 @@ export class HistoryAppElement extends HistoryAppElementBase { override _scrollHandler() { if (this.scrollTarget) { // When the tabs are visible, show the toolbar shadow for the synced - // devices page only. + // devices page or product specifications page. this.toolbarShadow_ = this.scrollTarget.scrollTop !== 0 && (!this.showHistoryClusters_ || - this.syncedTabsSelected_(this.selectedPage_!)); + this.syncedTabsSelected_(this.selectedPage_!) || + this.selectedPage_ === Page.PRODUCT_SPECIFICATIONS_LISTS); } } diff --git a/chrome/browser/resources/history/product_specifications_item.html b/chrome/browser/resources/history/product_specifications_item.html index 31fd5b5fe9ab67..b5f7f7388b60d8 100644 --- a/chrome/browser/resources/history/product_specifications_item.html +++ b/chrome/browser/resources/history/product_specifications_item.html @@ -23,7 +23,7 @@ } -
+
+ :host { + display: block; + overflow: auto; + } + .history-cards { margin-block-start: var(--first-card-padding-top); } diff --git a/chrome/browser/resources/history/product_specifications_lists.ts b/chrome/browser/resources/history/product_specifications_lists.ts index 83cc80a2e5effe..0ad661b8a7e527 100644 --- a/chrome/browser/resources/history/product_specifications_lists.ts +++ b/chrome/browser/resources/history/product_specifications_lists.ts @@ -60,7 +60,6 @@ export class ProductSpecificationsListsElement extends PolymerElement { selectedItems: Set = new Set(); private pendingDelete_: boolean = false; private lastSelectedIndex_: number|undefined = undefined; - private shoppingApi_: BrowserProxy = BrowserProxyImpl.getInstance(); private allItems_: ProductSpecificationsSet[] = []; private focusGrid_: FocusGrid|null = null;