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
@@ -236,7 +236,6 @@ export const KOSyncSettingsWindow: React.FC = () => {
onClose={() => setIsOpen(false)}
title={_('KOReader Sync Settings')}
boxClassName='sm:!min-w-[520px] sm:h-auto'
bgClassName='!bg-black/60'
>
<div className='mb-4 mt-0 flex flex-col gap-4 p-2 sm:p-4'>
{isConfigured ? (
@@ -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={