Skip to content

Commit f83b81c

Browse files
authored
Merge pull request #614 from subquery/fix/styles
fix: styles
2 parents 6a82fcc + b569c66 commit f83b81c

File tree

7 files changed

+20
-9
lines changed

7 files changed

+20
-9
lines changed

src/index.less

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ label,
227227

228228
.button {
229229
margin-right: 1rem;
230-
background: var(--gradient-to);
230+
background: var(--sq-blue600);
231231
color: white;
232232
}
233233

@@ -284,3 +284,13 @@ label,
284284
height: 100%;
285285
max-height: 60px;
286286
}
287+
288+
289+
.ant-btn-primary {
290+
background-color: var(--sq-blue600);
291+
}
292+
293+
.ant-steps .ant-steps-item-process .ant-steps-item-icon {
294+
background-color: var(--sq-blue600);
295+
border-color: var(--sq-blue600);
296+
}

src/pages/consumer/MyOffers/MyOffers.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
.create {
1111
height: 40px;
12+
flex-shrink: 0;
1213
}
1314

1415
.description {

src/pages/delegator/DoDelegate/DelegateFrom.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ export const DelegateForm: React.FC<FormProps> = ({
222222
{({ submitForm, isValid, isSubmitting, setFieldValue, setErrors, values, resetForm }) => {
223223
return (
224224
<Form>
225-
<div>
225+
<div style={{ display: 'flex', flexDirection: 'column' }}>
226226
<SummaryList list={summaryList} />
227227
<Divider className={styles.divider} />
228228

src/pages/delegator/DoDelegate/DoDelegate.module.less

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
margin: 1rem 0;
1717
}
1818

19-
.divider {
20-
margin-top: 28px;
21-
margin-bottom: 24px;
22-
}
23-
2419
.delegatorSelect {
2520

2621
:global {
@@ -32,7 +27,7 @@
3227
}
3328

3429
.ant-select-selection-search-input.ant-select-selection-search-input.ant-select-selection-search-input.ant-select-selection-search-input {
35-
margin-top: 7px;
30+
margin-top: 5px;
3631
}
3732

3833
.ant-space {

src/pages/indexer/MyPlans/Create/Create.module.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,7 @@
5757
}
5858
}
5959
}
60+
61+
.planSelector:global(.ant-select-single.ant-select-lg) {
62+
height: 60px;
63+
}

src/pages/indexer/MyPlans/Create/Create.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ const DeploymentIdOptions = ({ onChooseSpecificPlan }: { onChooseSpecificPlan: (
143143
placeholder="Select specific deployment Id"
144144
optionFilterProp="children"
145145
onChange={(deploymentId) => onChooseSpecificPlan(deploymentId)}
146-
className={clsx('fullWidth', 'flex')}
146+
className={clsx('fullWidth', 'flex', styles.planSelector)}
147147
loading={indexerDeployments.loading}
148148
size="large"
149149
allowClear

src/pages/indexer/MyPlans/Plans.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@
77

88
.create {
99
height: 40px;
10+
flex-shrink: 0;
1011
}

0 commit comments

Comments
 (0)