Merge pull request #789 from responsively-org/device-manager-bg-fix

Device manager overflow background fix
This commit is contained in:
Manoj Vivek 2023-01-22 11:23:28 +05:30 committed by GitHub
commit 74133209b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 4 deletions

View file

@ -14,7 +14,7 @@ const ThemeProvider = ({ children }: { children: React.ReactNode }) => {
}, [darkMode]);
return (
<div className="h-screen w-screen bg-slate-200 text-light-normal dark:bg-slate-800 dark:text-dark-normal">
<div className="min-w-screen min-h-screen bg-slate-200 text-light-normal dark:bg-slate-800 dark:text-dark-normal">
{children}
</div>
);

View file

@ -17,12 +17,21 @@ module.exports = {
normal: colors.gray['700'],
},
},
maxWidth: (theme) => ({
...theme('spacing'),
}),
fontFamily: {
sans: ['Lato', ...defaultTheme.fontFamily.sans],
},
maxHeight: (theme) => ({
...theme('spacing'),
}),
maxWidth: (theme) => ({
...theme('spacing'),
}),
minHeight: (theme) => ({
...theme('spacing'),
}),
minWidth: (theme) => ({
...theme('spacing'),
}),
},
},
plugins: [typography],