Skip to content

Commit 2811837

Browse files
authored
Merge pull request #1223 from topcoder-platform/PM-1800_mobile-fix
fix error test on mobile
2 parents 9a6c943 + ec87f00 commit 2811837

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

src/apps/review/src/pages/scorecards/EditScorecardPage/EditScorecardPage.module.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,3 +268,10 @@
268268
justify-content: flex-end;
269269
align-items: center;
270270
}
271+
272+
.inputError {
273+
font-size: 12px;
274+
line-height: 14px;
275+
color: #EF3A3A;
276+
margin-top: -4px;
277+
}

src/apps/review/src/pages/scorecards/EditScorecardPage/components/CalculatedWeightsSum.module.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,11 @@
3939
border-color: #D34E3B;
4040
}
4141
}
42+
43+
44+
.inputError {
45+
font-size: 12px;
46+
line-height: 14px;
47+
color: #EF3A3A;
48+
margin-top: -4px;
49+
}

src/apps/review/src/pages/scorecards/EditScorecardPage/components/CalculatedWeightsSum.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const CalculatedWeightsSum: FC<CalculatedWeightsSumProps> = props => {
2828
{' '}
2929
Weights:
3030
</div>
31-
<div className={classNames('body-small', props.error && 'errorMessage')}>
31+
<div className={classNames('body-small', props.error && styles.inputError)}>
3232
{props.description}
3333
</div>
3434
</div>

0 commit comments

Comments
 (0)