css: background color for dialogs and images, closes #1797 (#1798)

This commit is contained in:
Huang Xin
2025-08-13 21:37:52 +08:00
committed by GitHub
parent ce345ad67f
commit db8f53a6e1
5 changed files with 4 additions and 8 deletions
@@ -163,6 +163,7 @@ const SettingsDialog: React.FC<{ bookKey: string; config: BookConfig }> = ({ boo
isOpen={true}
onClose={handleClose}
className='modal-open'
bgClassName='sm:!bg-black/20'
boxClassName={clsx('sm:min-w-[520px]', appService?.isMobile && 'sm:max-w-[90%] sm:w-3/4')}
snapHeight={appService?.isMobile ? 0.7 : undefined}
header={