Fix help modal scroll behavior

pull/9674/head
Albert Ford 2021-08-27 00:41:33 -07:00
parent 572020a2e3
commit 8d84cdc9d1
No known key found for this signature in database
GPG Key ID: 9C200032321A04A3
1 changed files with 3 additions and 2 deletions

View File

@ -63,7 +63,7 @@ function help() {
lichess.loadCssPath('clinput.help');
modal({
content: $(
'<h3>Commands</h3>' +
'<div><h3>Commands</h3>' +
commandHelp('/tv /follow', ' <user>', 'Watch someone play') +
commandHelp('/play /challenge /match', ' <user>', 'Challenge someone to play') +
commandHelp('/light /dark /transp', '', 'Change the background theme') +
@ -72,7 +72,8 @@ function help() {
commandHelp('s', '', 'Search for a user') +
commandHelp('/', '', 'Type a command') +
commandHelp('c', '', 'Focus the chat input') +
commandHelp('esc', '', 'Close modals like this one')
commandHelp('esc', '', 'Close modals like this one') +
'</div>'
),
class: 'clinput-help',
});