mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-05-26 04:17:14 +00:00
Fix ios issue with gap and dropdown
This commit is contained in:
@@ -10,7 +10,7 @@ export const themeSlice = createSlice({
|
||||
setTheme: (state, action) => {
|
||||
state = action.payload;
|
||||
|
||||
document.documentElement.setAttribute('data-theme', state);
|
||||
document.querySelector('html').setAttribute('data-theme', state);
|
||||
localStorage.setItem('ezprofileTheme', state);
|
||||
|
||||
return state;
|
||||
|
||||
Reference in New Issue
Block a user