mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-08 05:03:39 +08:00
fix(leaderboard modal): language selection dropdown position when scrolling
This commit is contained in:
parent
08e8f7b1fd
commit
90a888f73f
1 changed files with 4 additions and 3 deletions
|
|
@ -702,9 +702,10 @@ const languageSelector = new SlimSelect({
|
|||
"#leaderboardsWrapper #leaderboards .leaderboardsTop .buttonGroup.timeRange .languageSelect",
|
||||
settings: {
|
||||
showSearch: false,
|
||||
contentLocation: document.querySelector(
|
||||
"#leaderboardsWrapper"
|
||||
) as HTMLElement,
|
||||
// contentLocation: document.querySelector(
|
||||
// "#leaderboardsWrapper"
|
||||
// ) as HTMLElement,
|
||||
// contentPosition: "relative",
|
||||
},
|
||||
data: [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue