Skip to content

Commit 8d84cdc

Browse files
committed
Fix help modal scroll behavior
1 parent 572020a commit 8d84cdc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ui/cli/src/main.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ function help() {
6363
lichess.loadCssPath('clinput.help');
6464
modal({
6565
content: $(
66-
'<h3>Commands</h3>' +
66+
'<div><h3>Commands</h3>' +
6767
commandHelp('/tv /follow', ' <user>', 'Watch someone play') +
6868
commandHelp('/play /challenge /match', ' <user>', 'Challenge someone to play') +
6969
commandHelp('/light /dark /transp', '', 'Change the background theme') +
@@ -72,7 +72,8 @@ function help() {
7272
commandHelp('s', '', 'Search for a user') +
7373
commandHelp('/', '', 'Type a command') +
7474
commandHelp('c', '', 'Focus the chat input') +
75-
commandHelp('esc', '', 'Close modals like this one')
75+
commandHelp('esc', '', 'Close modals like this one') +
76+
'</div>'
7677
),
7778
class: 'clinput-help',
7879
});

0 commit comments

Comments
 (0)