Remove nested scrolling in profile watch history.

Removes the fixed height and overflow from the watch history container in the profile modal, allowing it to expand fully. Updates the profile modal controller to use the main modal panes container as the scroll root for infinite scrolling.
This commit is contained in:
google-labs-jules[bot] committed 2026-01-07 20:43:38 +00:00
1 parent 6a57491889
commit 13b5fab7b3
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -172,7 +172,7 @@
data-profile-mobile-pane
aria-hidden="true"
>
<div class="profile-modal__panes">
<div id="profileModalPanes" class="profile-modal__panes">
<section
id="profilePaneAccount"
class="profile-pane space-y-6"
@@ -861,7 +861,7 @@
>
You haven’t watched any videos yet.
</div>
<div id="profileHistoryScroll" class="relative max-h-profile-history overflow-y-auto pr-1">
<div id="profileHistoryScroll" class="relative">
<div
id="profileHistoryGrid"
class="grid-stack hidden"
+1 -1
View File
@@ -1501,7 +1501,7 @@ export class ProfileModalController {
statusSelector: "#profileHistoryStatus",
emptySelector: "#profileHistoryEmpty",
sentinelSelector: "#profileHistorySentinel",
scrollContainerSelector: "#profileHistoryScroll",
scrollContainerSelector: "#profileModalPanes",
errorBannerSelector: "#profileHistoryError",
clearButtonSelector: "#profileHistoryClear",
republishButtonSelector: "#profileHistoryRepublish",