diff --git a/src/frontend/src/components/appHeaderComponent/components/ThemeButtons/index.tsx b/src/frontend/src/components/appHeaderComponent/components/ThemeButtons/index.tsx index 4c67813e3..35ae89d60 100644 --- a/src/frontend/src/components/appHeaderComponent/components/ThemeButtons/index.tsx +++ b/src/frontend/src/components/appHeaderComponent/components/ThemeButtons/index.tsx @@ -54,7 +54,7 @@ export const ThemeButtons = () => { className={`relative z-10 inline-flex items-center rounded-full px-1 ${ selectedTheme === "light" ? "text-foreground" - : "text-foreground hover:text-background dark:hover:bg-amber-400" + : "text-foreground hover:bg-amber-400 hover:text-background" }`} onClick={() => handleThemeChange("light")} > diff --git a/src/frontend/src/components/shadTooltipComponent/index.tsx b/src/frontend/src/components/shadTooltipComponent/index.tsx index d67b63e00..8fb831d5f 100644 --- a/src/frontend/src/components/shadTooltipComponent/index.tsx +++ b/src/frontend/src/components/shadTooltipComponent/index.tsx @@ -13,6 +13,7 @@ const ShadTooltip: React.FC = ({ open, align, setOpen, + avoidCollisions = false, }) => { if (!content) { return <>{children}; @@ -32,7 +33,7 @@ const ShadTooltip: React.FC = ({ styleClasses, )} side={side} - avoidCollisions={false} + avoidCollisions={avoidCollisions} align={align} sticky="always" > diff --git a/src/frontend/src/components/ui/dialog.tsx b/src/frontend/src/components/ui/dialog.tsx index b29c4fae4..c823595fa 100644 --- a/src/frontend/src/components/ui/dialog.tsx +++ b/src/frontend/src/components/ui/dialog.tsx @@ -50,7 +50,12 @@ const DialogContent = React.forwardRef< {...props} > {children} - + Close diff --git a/src/frontend/src/modals/IOModal/newModal.tsx b/src/frontend/src/modals/IOModal/newModal.tsx index a72a78caa..818553390 100644 --- a/src/frontend/src/modals/IOModal/newModal.tsx +++ b/src/frontend/src/modals/IOModal/newModal.tsx @@ -443,7 +443,11 @@ export default function IOModal({ "absolute right-12 top-2 flex h-8 items-center justify-center rounded-sm ring-offset-background transition-opacity focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2", )} > - +