0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-27 21:39:16 -05:00

fix(console): add mobile platform preview description (#1032)

This commit is contained in:
Xiao Yijun 2022-06-02 15:10:09 +08:00 committed by GitHub
parent 248e43d7c9
commit 6167e5c28d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 0 deletions

View file

@ -86,6 +86,14 @@
height: 808px;
}
}
.description {
margin-top: _.unit(6);
width: 100%;
text-align: center;
color: var(--color-caption);
font: var(--font-body-small);
}
}
&.web {

View file

@ -131,6 +131,9 @@ const Preview = ({ signInExperience, className }: Props) => {
)}
<iframe ref={previewRef} src="/sign-in?preview=true" />
</div>
{platform === 'mobile' && (
<div className={styles.description}>{t('sign_in_exp.preview.mobile_description')}</div>
)}
</div>
</Card>
);

View file

@ -503,6 +503,7 @@ const translation = {
light: 'Light',
mobile: 'Mobile',
web: 'Web',
mobile_description: 'Mobile includes mobile web, Android and iOS.',
},
},
settings: {

View file

@ -499,6 +499,7 @@ const translation = {
light: 'Light',
mobile: 'Mobile',
web: 'Web',
mobile_description: 'Mobile includes mobile web, Android and iOS.',
},
},
settings: {