This is an automated email from the ASF dual-hosted git repository.
likyh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new 31134f9f5 fix(config-ui): adjust the style for create blueprint step 4
(#4918)
31134f9f5 is described below
commit 31134f9f5af393eb3a6344427d4c8d4ea487c220
Author: 青湛 <[email protected]>
AuthorDate: Tue Apr 18 22:27:03 2023 +0800
fix(config-ui): adjust the style for create blueprint step 4 (#4918)
---
config-ui/src/pages/blueprint/components/sync-policy/index.tsx | 5 ++---
config-ui/src/pages/blueprint/create/components/step-4.tsx | 4 ++--
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/config-ui/src/pages/blueprint/components/sync-policy/index.tsx
b/config-ui/src/pages/blueprint/components/sync-policy/index.tsx
index a7d2a4e9f..a25de0f5b 100644
--- a/config-ui/src/pages/blueprint/components/sync-policy/index.tsx
+++ b/config-ui/src/pages/blueprint/components/sync-policy/index.tsx
@@ -76,11 +76,10 @@ export const SyncPolicy = ({
</div>
)}
<div className="block" style={{ display: 'flex' }}>
- <div className="left" style={{ flex: '0 0 500px' }}>
+ <div className="left" style={{ flex: '0 0 400px', marginRight: 100 }}>
<h3>Frequency</h3>
<p>
- Blueprints will run on creation and recurringly based on the
schedule. The time shown below is your LOCAL
- time.
+ Blueprints will run on creation and recurringly based on the
schedule. The time shown is your LOCAL time.
</p>
<RadioGroup selectedValue={cron.value}
onChange={handleChangeFrequency}>
{options.map(({ value, label, subLabel }) => (
diff --git a/config-ui/src/pages/blueprint/create/components/step-4.tsx
b/config-ui/src/pages/blueprint/create/components/step-4.tsx
index 6ed6370e6..7108c9216 100644
--- a/config-ui/src/pages/blueprint/create/components/step-4.tsx
+++ b/config-ui/src/pages/blueprint/create/components/step-4.tsx
@@ -63,8 +63,8 @@ export const Step4 = () => {
<S.Btns>
<Button intent={Intent.PRIMARY} outlined text="Previous Step"
onClick={onPrev} />
<div>
- <Button intent={Intent.PRIMARY} text="Save Blueprint"
onClick={onSave} />
- <Button intent={Intent.PRIMARY} outlined text="Save and Run Now"
onClick={onSaveAndRun} />
+ <Button intent={Intent.PRIMARY} outlined text="Save Blueprint"
onClick={onSave} />
+ <Button intent={Intent.PRIMARY} text="Save and Run Now"
onClick={onSaveAndRun} />
</div>
</S.Btns>
</S.Wrapper>