2/n Fixing dark mode bugs
This commit is contained in:
parent
8d886e0961
commit
33c8b11c6e
15 changed files with 78 additions and 96 deletions
|
|
@ -101,7 +101,7 @@ export const FileSelectionModal = (props: {
|
|||
|
||||
const getBody = () => {
|
||||
if (listTorrentLoading) {
|
||||
return <Spinner />;
|
||||
return <Spinner label="Loading torrent contents" />;
|
||||
} else if (listTorrentError) {
|
||||
return <ErrorComponent error={listTorrentError}></ErrorComponent>;
|
||||
} else if (listTorrentResponse) {
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ export const Modal: React.FC<ModalProps> = ({
|
|||
}) => {
|
||||
const renderBackdrop = () => {
|
||||
return (
|
||||
<div className="fixed inset-0 bg-black/30 z-[300] dark:bg-black/60"></div>
|
||||
<div className="fixed inset-0 bg-black/30 z-[300] dark:bg-black/60 backdrop-blur"></div>
|
||||
);
|
||||
};
|
||||
return (
|
||||
|
|
@ -51,7 +51,7 @@ export const Modal: React.FC<ModalProps> = ({
|
|||
className="fixed z-[301] top-0 left-0 w-full h-full block overflow-x-hidden overflow-y-auto"
|
||||
>
|
||||
<div
|
||||
className={`bg-white shadow-lg my-8 mx-auto max-w-2xl rounded ${className} dark:bg-slate-800`}
|
||||
className={`bg-white shadow-lg my-8 mx-auto max-w-2xl rounded ${className} dark:bg-slate-800 dark:text-zinc-50`}
|
||||
>
|
||||
<ModalHeader onClose={onClose} title={title} />
|
||||
{children}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue