fix(lyrics): resolve scrolling issue in ExpandedPlayer
- Fix reset effect to track actual content changes instead of array reference, preventing constant lastScrolledIndex resets in Svelte 5 - Add min-height: 0 to lyrics-container for proper flex height calculation
This commit is contained in:
1 parent
e1ee5215ec
commit
fd178b8643
2 files changed
+9
-4
No files matched your search
@@ -674,7 +674,7 @@
|
||||
|
||||
.lyrics-container {
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
min-height: 0; /* Critical for flex child to allow shrinking */
|
||||
max-height: calc(100vh - 160px);
|
||||
mask-image: linear-gradient(
|
||||
to bottom,
|
||||
|
||||
Reference in new issue
Block a user