fix current track in queue auto scroll position

- add another inner container to limit the offset
- auto scroll current track to container start
- add todo file
This commit is contained in:
geoffrey45
2022-06-13 09:17:00 +03:00
parent 9a2635d7c3
commit f1ec6309ba
11 changed files with 65 additions and 30 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ function focusElem(className: string, delay?: number) {
if (dom) {
dom.scrollIntoView({
behavior: "smooth",
block: "center",
block: "start",
inline: "center",
});
}