Skip to content

Commit

Permalink
Merge pull request #614 from subquery/fix/styles
Browse files Browse the repository at this point in the history
fix: styles
  • Loading branch information
HuberTRoy authored Dec 6, 2023
2 parents 6a82fcc + b569c66 commit f83b81c
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 9 deletions.
12 changes: 11 additions & 1 deletion src/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ label,

.button {
margin-right: 1rem;
background: var(--gradient-to);
background: var(--sq-blue600);
color: white;
}

Expand Down Expand Up @@ -284,3 +284,13 @@ label,
height: 100%;
max-height: 60px;
}


.ant-btn-primary {
background-color: var(--sq-blue600);
}

.ant-steps .ant-steps-item-process .ant-steps-item-icon {
background-color: var(--sq-blue600);
border-color: var(--sq-blue600);
}
1 change: 1 addition & 0 deletions src/pages/consumer/MyOffers/MyOffers.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

.create {
height: 40px;
flex-shrink: 0;
}

.description {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/delegator/DoDelegate/DelegateFrom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export const DelegateForm: React.FC<FormProps> = ({
{({ submitForm, isValid, isSubmitting, setFieldValue, setErrors, values, resetForm }) => {
return (
<Form>
<div>
<div style={{ display: 'flex', flexDirection: 'column' }}>
<SummaryList list={summaryList} />
<Divider className={styles.divider} />

Expand Down
7 changes: 1 addition & 6 deletions src/pages/delegator/DoDelegate/DoDelegate.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@
margin: 1rem 0;
}

.divider {
margin-top: 28px;
margin-bottom: 24px;
}

.delegatorSelect {

:global {
Expand All @@ -32,7 +27,7 @@
}

.ant-select-selection-search-input.ant-select-selection-search-input.ant-select-selection-search-input.ant-select-selection-search-input {
margin-top: 7px;
margin-top: 5px;
}

.ant-space {
Expand Down
4 changes: 4 additions & 0 deletions src/pages/indexer/MyPlans/Create/Create.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,7 @@
}
}
}

.planSelector:global(.ant-select-single.ant-select-lg) {
height: 60px;
}
2 changes: 1 addition & 1 deletion src/pages/indexer/MyPlans/Create/Create.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ const DeploymentIdOptions = ({ onChooseSpecificPlan }: { onChooseSpecificPlan: (
placeholder="Select specific deployment Id"
optionFilterProp="children"
onChange={(deploymentId) => onChooseSpecificPlan(deploymentId)}
className={clsx('fullWidth', 'flex')}
className={clsx('fullWidth', 'flex', styles.planSelector)}
loading={indexerDeployments.loading}
size="large"
allowClear
Expand Down
1 change: 1 addition & 0 deletions src/pages/indexer/MyPlans/Plans.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@

.create {
height: 40px;
flex-shrink: 0;
}

0 comments on commit f83b81c

Please sign in to comment.