diff --git a/Client/src/Components/Inputs/Search/index.jsx b/Client/src/Components/Inputs/Search/index.jsx index 0f5e00624..d85e8e7d4 100644 --- a/Client/src/Components/Inputs/Search/index.jsx +++ b/Client/src/Components/Inputs/Search/index.jsx @@ -155,16 +155,21 @@ const Search = ({ popper: { keepMounted: true, sx: { - "& ul": { p: 2 }, + "& ul": { p: 2, backgroundColor: theme.palette.primary.main }, "& li.MuiAutocomplete-option": { color: theme.palette.primary.contrastText.secondary, px: 4, borderRadius: theme.shape.borderRadius, }, + "& .MuiAutocomplete-listbox .MuiAutocomplete-option[aria-selected='true'], & .MuiAutocomplete-listbox .MuiAutocomplete-option[aria-selected='true'].Mui-focused, & .MuiAutocomplete-listbox .MuiAutocomplete-option[aria-selected='true']:hover": { backgroundColor: theme.palette.primary.lowContrast, }, + "& li.MuiAutocomplete-option:hover:not([aria-selected='true'])": { + color: theme.palette.primary.main, + backgroundColor: theme.palette.primary.contrastText.secondary, + }, "& .MuiAutocomplete-noOptions": { px: theme.spacing(6), py: theme.spacing(5), diff --git a/Client/src/Pages/Uptime/Home/index.jsx b/Client/src/Pages/Uptime/Home/index.jsx index 1a60325f0..8ff7d55a3 100644 --- a/Client/src/Pages/Uptime/Home/index.jsx +++ b/Client/src/Pages/Uptime/Home/index.jsx @@ -60,17 +60,13 @@ const UptimeMonitors = () => { {canAddMonitor && (