mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 15:13:21 +00:00
Fix props
Signed-off-by: soupette <cyril@strapi.io>
This commit is contained in:
parent
cba6116d83
commit
984d1e3dcc
@ -17,10 +17,10 @@ export const LayoutContent = ({ children }) => (
|
||||
<Wrapper
|
||||
shadow="tableShadow"
|
||||
hasRadius
|
||||
paddingTop="9"
|
||||
paddingBottom="9"
|
||||
paddingLeft="10"
|
||||
paddingRight="10"
|
||||
paddingTop={9}
|
||||
paddingBottom={9}
|
||||
paddingLeft={10}
|
||||
paddingRight={10}
|
||||
background="neutral0"
|
||||
justifyContent="center"
|
||||
>
|
||||
@ -39,7 +39,7 @@ const UnauthenticatedLayout = ({ children }) => {
|
||||
<LocaleToggle />
|
||||
</Box>
|
||||
</Row>
|
||||
<Box paddingTop="11" paddingBottom="11">
|
||||
<Box paddingTop={11} paddingBottom={11}>
|
||||
{children}
|
||||
</Box>
|
||||
</div>
|
||||
|
||||
@ -30,7 +30,7 @@ const ForgotPassword = ({ onSubmit, schema }) => {
|
||||
<Form noValidate>
|
||||
<Column>
|
||||
<Logo />
|
||||
<Box paddingTop="6" paddingBottom="7">
|
||||
<Box paddingTop={6} paddingBottom={7}>
|
||||
<H1 id="password-forgotten">
|
||||
{formatMessage({
|
||||
id: 'Auth.form.button.password-forgotten',
|
||||
|
||||
@ -16,7 +16,7 @@ const ForgotPasswordSuccess = () => {
|
||||
<LayoutContent>
|
||||
<Column>
|
||||
<Logo />
|
||||
<Box paddingTop="6" paddingBottom="7">
|
||||
<Box paddingTop={6} paddingBottom={7}>
|
||||
<H1 id="email-sent">
|
||||
{formatMessage({
|
||||
id: 'app.containers.AuthPage.ForgotPasswordSuccess.title',
|
||||
|
||||
@ -43,7 +43,7 @@ const Login = ({ onSubmit, schema, children }) => {
|
||||
<Form noValidate>
|
||||
<Column>
|
||||
<Logo />
|
||||
<Box paddingTop="6" paddingBottom="1">
|
||||
<Box paddingTop={6} paddingBottom={1}>
|
||||
<H1 id="welcome">
|
||||
{formatMessage({
|
||||
id: 'Auth.form.welcome.title',
|
||||
@ -51,7 +51,7 @@ const Login = ({ onSubmit, schema, children }) => {
|
||||
})}
|
||||
</H1>
|
||||
</Box>
|
||||
<Box paddingBottom="7">
|
||||
<Box paddingBottom={7}>
|
||||
<Subtitle textColor="neutral600">
|
||||
{formatMessage({
|
||||
id: 'Auth.form.welcome.subtitle',
|
||||
|
||||
@ -25,7 +25,7 @@ const Oops = () => {
|
||||
<LayoutContent>
|
||||
<Column>
|
||||
<Logo />
|
||||
<Box paddingTop="6" paddingBottom="7">
|
||||
<Box paddingTop={6} paddingBottom={7}>
|
||||
<H1 id="email-sent">
|
||||
{formatMessage({ id: 'Auth.components.Oops.title', defaultMessage: 'Oops...' })}
|
||||
</H1>
|
||||
|
||||
@ -109,7 +109,7 @@ const Register = ({ fieldsToDisable, noSignin, onSubmit, schema }) => {
|
||||
<Main labelledBy="welcome">
|
||||
<Column>
|
||||
<Logo />
|
||||
<Box paddingTop="6" paddingBottom="1">
|
||||
<Box paddingTop={6} paddingBottom={1}>
|
||||
<H1 id="welcome">
|
||||
{formatMessage({
|
||||
id: 'Auth.form.welcome.title',
|
||||
@ -117,7 +117,7 @@ const Register = ({ fieldsToDisable, noSignin, onSubmit, schema }) => {
|
||||
})}
|
||||
</H1>
|
||||
</Box>
|
||||
<CenteredBox paddingBottom="7">
|
||||
<CenteredBox paddingBottom={7}>
|
||||
<Subtitle textColor="neutral600">
|
||||
{formatMessage({
|
||||
id: 'Auth.form.register.subtitle',
|
||||
|
||||
@ -35,7 +35,7 @@ const ForgotPassword = ({ onSubmit, schema }) => {
|
||||
<Form noValidate>
|
||||
<Column>
|
||||
<Logo />
|
||||
<Box paddingTop="6" paddingBottom="7">
|
||||
<Box paddingTop={6} paddingBottom={7}>
|
||||
<H1 id="password-forgotten">
|
||||
{formatMessage({
|
||||
id: 'Auth.reset-password.title',
|
||||
|
||||
@ -49,10 +49,10 @@ const Providers = () => {
|
||||
<LayoutContent>
|
||||
<Column>
|
||||
<Logo />
|
||||
<Box paddingTop="6" paddingBottom="1">
|
||||
<Box paddingTop={6} paddingBottom={1}>
|
||||
<H1 id="welcome">{formatMessage({ id: 'Auth.form.welcome.title' })}</H1>
|
||||
</Box>
|
||||
<Box paddingBottom="7">
|
||||
<Box paddingBottom={7}>
|
||||
<Subtitle textColor="neutral600">
|
||||
{formatMessage({ id: 'Auth.login.sso.subtitle' })}
|
||||
</Subtitle>
|
||||
|
||||
@ -40,8 +40,8 @@
|
||||
"@fortawesome/react-fontawesome": "^0.1.14",
|
||||
"@strapi/babel-plugin-switch-ee-ce": "1.0.0",
|
||||
"@strapi/helper-plugin": "3.6.8",
|
||||
"@strapi/icons": "0.0.1-alpha.25",
|
||||
"@strapi/parts": "0.0.1-alpha.25",
|
||||
"@strapi/icons": "0.0.1-alpha.26",
|
||||
"@strapi/parts": "0.0.1-alpha.26",
|
||||
"@strapi/utils": "3.6.8",
|
||||
"axios": "^0.21.1",
|
||||
"babel-loader": "8.2.2",
|
||||
|
||||
@ -57,8 +57,8 @@
|
||||
"@storybook/builder-webpack5": "^6.3.7",
|
||||
"@storybook/manager-webpack5": "^6.3.7",
|
||||
"@storybook/react": "^6.3.7",
|
||||
"@strapi/icons": "0.0.1-alpha.25",
|
||||
"@strapi/parts": "0.0.1-alpha.25",
|
||||
"@strapi/icons": "0.0.1-alpha.26",
|
||||
"@strapi/parts": "0.0.1-alpha.26",
|
||||
"babel-loader": "^8.2.2",
|
||||
"cross-env": "^7.0.3",
|
||||
"enzyme": "^3.8.0",
|
||||
|
||||
16
yarn.lock
16
yarn.lock
@ -4910,15 +4910,15 @@
|
||||
resolve-from "^5.0.0"
|
||||
store2 "^2.12.0"
|
||||
|
||||
"@strapi/icons@0.0.1-alpha.25":
|
||||
version "0.0.1-alpha.25"
|
||||
resolved "https://registry.yarnpkg.com/@strapi/icons/-/icons-0.0.1-alpha.25.tgz#59c1b9258bb92784fc323e8ba18f2417bc722aea"
|
||||
integrity sha512-bhieHD4XXeMilqcXzPTvwIpddWpNxSXwYWfEfWwRmqaFoNkGBdSLPEhKkwNTmqBuqsBgvgao3CJ8eADoKQzv7g==
|
||||
"@strapi/icons@0.0.1-alpha.26":
|
||||
version "0.0.1-alpha.26"
|
||||
resolved "https://registry.yarnpkg.com/@strapi/icons/-/icons-0.0.1-alpha.26.tgz#652833c431b0eaf019d631e32f4dccc68ab87afb"
|
||||
integrity sha512-wveXSxcgoPuQNMaiTeOYeLvSoirq/7MwV6v+Xwod7WPvzvjK82H/O8kg2sTPGhTCtya952krAm/9DcEs3LfFUQ==
|
||||
|
||||
"@strapi/parts@0.0.1-alpha.25":
|
||||
version "0.0.1-alpha.25"
|
||||
resolved "https://registry.yarnpkg.com/@strapi/parts/-/parts-0.0.1-alpha.25.tgz#b6121d880cd8c1e4670411a9bcb508da9d95e165"
|
||||
integrity sha512-OuiJRs1U1T/vF4ZxJic28/rEJMQWPjrsKojA6WUo2GWg7RB2gFQHrITp4smQOo7Bi+6mQv85ON+ywGeNVsOOmg==
|
||||
"@strapi/parts@0.0.1-alpha.26":
|
||||
version "0.0.1-alpha.26"
|
||||
resolved "https://registry.yarnpkg.com/@strapi/parts/-/parts-0.0.1-alpha.26.tgz#44732b90026c56e48fb53c5768ad0aac7932caa0"
|
||||
integrity sha512-36IgzV/jTygrTVjlkHkcMIQCmZUtyY2D3EuK+XlApQEjJIfj0XwB0Q1Of6OMbTnUVVwKrWwpB/9Qzqv4yiw9AQ==
|
||||
dependencies:
|
||||
"@internationalized/number" "^3.0.2"
|
||||
compute-scroll-into-view "^1.0.17"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user