Skip to content

Commit 8ebc134

Browse files
authored
Merge pull request #827 from getmaxun/ui-fixes
fix: miscellaneous ui fixes
2 parents 6661499 + a091df4 commit 8ebc134

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

src/components/dashboard/NavBar.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,14 +158,11 @@ export const NavBar: React.FC<NavBarProps> = ({
158158
};
159159

160160
const renderThemeToggle = () => (
161-
<Tooltip title="Toggle Mode">
161+
<Tooltip title="Change Mode">
162162
<IconButton
163163
onClick={toggleTheme}
164164
sx={{
165165
color: darkMode ? '#ffffff' : '#0000008A',
166-
'&:hover': {
167-
background: 'inherit'
168-
}
169166
}}
170167
>
171168
{darkMode ? <LightMode /> : <DarkMode />}

src/context/theme-provider.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -155,14 +155,14 @@ const darkTheme = createTheme({
155155
styleOverrides: {
156156
root: {
157157
color: '#ffffff',
158-
"&:hover": {
159-
backgroundColor: 'rgba(255, 0, 195, 0.08)',
160-
},
158+
// "&:hover": {
159+
// backgroundColor: 'rgba(255, 0, 195, 0.08)',
160+
// },
161161
'&.MuiIconButton-colorError': {
162162
color: '#f44336',
163-
"&:hover": {
164-
backgroundColor: 'rgba(244, 67, 54, 0.08)',
165-
},
163+
// "&:hover": {
164+
// backgroundColor: 'rgba(244, 67, 54, 0.08)',
165+
// },
166166
},
167167
},
168168
},

0 commit comments

Comments
 (0)