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

Merge pull request #6301 from logto-io/charles-log-9663-log-9667-minor-ui-updates

refactor(console,phrases): minor ui changes to file uploader component and ui description
This commit is contained in:
Charles Zhao 2024-07-23 09:25:50 +08:00 committed by GitHub
commit 57ade9b6f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View file

@ -1,9 +1,12 @@
@use '@/scss/underscore' as _;
.uploader {
display: flex;
align-items: center;
justify-content: center;
border: 1px dashed var(--color-border);
border-radius: 8px;
padding: _.unit(3.25);
padding: _.unit(5);
> input {
display: none;

View file

@ -80,7 +80,7 @@ const sign_in_exp = {
'Enter your custom CSS to tailor the styles of anything to your exact specifications. Express your creativity and make your UI stand out.',
bring_your_ui_title: 'Bring your UI',
bring_your_ui_description:
'Upload a compressed package (.zip) and replace the Logto prebuilt UI with your own code. <a>Learn more</a>',
'Upload a compressed package (.zip) to replace the Logto prebuilt UI with your own code. <a>Learn more</a>',
preview_with_bring_your_ui_description:
'Your custom UI assets have been successfully uploaded and are now being served. Consequently, the built-in preview window has been disabled.\nTo test your personalized sign-in UI, click the "Live Preview" button to open it in a new browser tab.',
},