Merge pull request #53 from RobbyV2/main
Some checks failed
Build and Publish Docker Image / build (push) Has been cancelled
Some checks failed
Build and Publish Docker Image / build (push) Has been cancelled
This commit is contained in:
commit
6b03d9c946
1 changed files with 10 additions and 8 deletions
|
|
@ -155,13 +155,15 @@ export function SettingsModal() {
|
||||||
];
|
];
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Button
|
<>
|
||||||
onClick={() => setIsOpen(true)}
|
<Button
|
||||||
className="rounded-full p-2 text-foreground hover:bg-offbase transform transition-transform duration-200 ease-in-out hover:scale-[1.1] hover:text-accent absolute top-1 left-1 sm:top-3 sm:left-3"
|
onClick={() => setIsOpen(true)}
|
||||||
aria-label="Settings"
|
className="rounded-full p-2 text-foreground hover:bg-offbase transform transition-transform duration-200 ease-in-out hover:scale-[1.1] hover:text-accent absolute top-1 left-1 sm:top-3 sm:left-3"
|
||||||
tabIndex={0}
|
aria-label="Settings"
|
||||||
>
|
tabIndex={0}
|
||||||
<SettingsIcon className="w-4 h-4 sm:w-5 sm:h-5 hover:animate-spin-slow" />
|
>
|
||||||
|
<SettingsIcon className="w-4 h-4 sm:w-5 sm:h-5 hover:animate-spin-slow" />
|
||||||
|
</Button>
|
||||||
|
|
||||||
<Transition appear show={isOpen} as={Fragment}>
|
<Transition appear show={isOpen} as={Fragment}>
|
||||||
<Dialog as="div" className="relative z-50" onClose={resetToCurrent}>
|
<Dialog as="div" className="relative z-50" onClose={resetToCurrent}>
|
||||||
|
|
@ -496,6 +498,6 @@ export function SettingsModal() {
|
||||||
confirmText="Delete"
|
confirmText="Delete"
|
||||||
isDangerous={true}
|
isDangerous={true}
|
||||||
/>
|
/>
|
||||||
</Button>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue