mirror of
https://github.com/logto-io/logto.git
synced 2025-02-17 22:04:19 -05:00
chore: update custom css render delay to 400ms (#3429)
This commit is contained in:
parent
0666f8bb71
commit
9d4c251a78
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ const usePreviewConfigs = (
|
|||
formData: SignInExperienceForm,
|
||||
isDirty: boolean,
|
||||
data?: SignInExperience,
|
||||
timeDelay = 2000 // Render the preview after the user stops typing in the custom CSS editing box for two seconds.
|
||||
timeDelay = 400 // Render the preview after the user stops typing in the custom CSS editing box for two seconds.
|
||||
) => {
|
||||
const debounce = useDebounce(timeDelay);
|
||||
const { customCss, ...restFormData } = formData;
|
||||
|
|
|
@ -46,7 +46,7 @@ const sign_in_exp = {
|
|||
css_code_editor_description: '查看自定义 CSS 的例子。 <a>{{link}}</a>',
|
||||
css_code_editor_description_link_content: '了解更多',
|
||||
css_code_editor_content_placeholder:
|
||||
'// 输入自定义CSS代码,从颜色、字体、组件样式和布局等,定制你的登录、注册、忘记密码和其他页面。充分发挥创造力,让你的用户界面脱颖而出。',
|
||||
'// 输入自定义 CSS 代码,从颜色、字体、组件样式和布局等,定制你的登录、注册、忘记密码和其他页面。充分发挥创造力,让你的用户界面脱颖而出。',
|
||||
},
|
||||
sign_up_and_sign_in: {
|
||||
identifiers_email: '邮件地址',
|
||||
|
|
Loading…
Add table
Reference in a new issue