mirror of
https://github.com/strapi/strapi.git
synced 2025-11-03 11:25:17 +00:00
Merge pull request #11359 from strapi/fix-background
Fix background overflow
This commit is contained in:
commit
434831f855
@ -10,6 +10,10 @@ const loadCss = async () => {
|
||||
|
||||
loadCss();
|
||||
|
||||
const GlobalStyle = createGlobalStyle``;
|
||||
const GlobalStyle = createGlobalStyle`
|
||||
body {
|
||||
background: ${({ theme }) => theme.colors.neutral100};
|
||||
}
|
||||
`;
|
||||
|
||||
export default GlobalStyle;
|
||||
|
||||
@ -10,7 +10,7 @@ const schema = yup.object().shape({
|
||||
.required(translatedErrors.required),
|
||||
roles: yup
|
||||
.array()
|
||||
.min(1, translatedErrors.min)
|
||||
.min(1, translatedErrors.required)
|
||||
.required(translatedErrors.required),
|
||||
});
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@ import { translatedErrors } from '@strapi/helper-plugin';
|
||||
const schema = {
|
||||
roles: yup
|
||||
.array()
|
||||
.min(1)
|
||||
.min(1, translatedErrors.required)
|
||||
.required(translatedErrors.required),
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user