mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-05 12:22:28 +00:00
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:
1 parent
6a57491889
commit
13b5fab7b3
2 files changed
+3
-3
No files matched your search
@@ -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"
|
||||
|
||||
@@ -1501,7 +1501,7 @@ export class ProfileModalController {
|
||||
statusSelector: "#profileHistoryStatus",
|
||||
emptySelector: "#profileHistoryEmpty",
|
||||
sentinelSelector: "#profileHistorySentinel",
|
||||
scrollContainerSelector: "#profileHistoryScroll",
|
||||
scrollContainerSelector: "#profileModalPanes",
|
||||
errorBannerSelector: "#profileHistoryError",
|
||||
clearButtonSelector: "#profileHistoryClear",
|
||||
republishButtonSelector: "#profileHistoryRepublish",
|
||||
|
||||
Reference in new issue
Block a user