Skip to content

Commit f33f20f

Browse files
committed
fix for issue #2082
1 parent 714edb0 commit f33f20f

File tree

4 files changed

+15
-0
lines changed

4 files changed

+15
-0
lines changed

src/shared/components/Settings/Profile/Hobby/index.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,7 @@ export default class Hobby extends ConsentComponent {
341341
<div styleName="field row-1">
342342
<label htmlFor="hobby">
343343
Hobby
344+
<span styleName="text-required">* Required</span>
344345
<input type="hidden" />
345346
</label>
346347
<input disabled={!canModifyTrait} id="hobby" name="hobby" type="text" placeholder="Hobby" onChange={this.onUpdateInput} value={newHobby.hobby} maxLength="128" required />
@@ -351,6 +352,7 @@ export default class Hobby extends ConsentComponent {
351352
<label styleName="description-label" htmlFor="description">
352353
<span>
353354
Description
355+
<span styleName="text-required">* Required</span>
354356
</span>
355357
{' '}
356358
<span styleName="description-counts">

src/shared/components/Settings/Profile/Hobby/styles.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,12 @@ textarea {
180180
line-height: 15px;
181181
font-weight: 500;
182182
color: $tc-gray-80;
183+
184+
.text-required {
185+
font-size: 10px;
186+
color: $tc-red-110;
187+
margin-left: 5px;
188+
}
183189
}
184190

185191
&.col-1 {

src/shared/components/Settings/Profile/Skills/index.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,7 @@ export default class Skills extends ConsentComponent {
590590
<div styleName="field">
591591
<label htmlFor="skills">
592592
Skill
593+
<span styleName="text-required">* Required</span>
593594
<input type="hidden" />
594595
</label>
595596
<Select

src/shared/components/Settings/Profile/Skills/styles.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,12 @@
165165
line-height: 15px;
166166
color: $tc-gray-80;
167167
margin-bottom: 6px;
168+
169+
.text-required {
170+
font-size: 10px;
171+
color: $tc-red-110;
172+
margin-left: 5px;
173+
}
168174
}
169175

170176
.col-1,

0 commit comments

Comments
 (0)