Skip to content

Commit

Permalink
Tasks: restyle Help field label
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunanoordin committed Jun 24, 2024
1 parent 924621d commit 740ed7c
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ function DrawingTask({
<div className="input-row">
<div className="flex-row spacing-bottom-S">
<label
className="big"
className="medium"
htmlFor={`task-${taskKey}-help`}
>
Help Text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ function QuestionTask({
<div className="input-row">
<div className="flex-row spacing-bottom-S">
<label
className="big"
className="medium"
htmlFor={`task-${taskKey}-help`}
>
Help Text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function TextTask({
<div className="input-row">
<div className="flex-row spacing-bottom-S">
<label
className="big"
className="medium"
htmlFor={`task-${taskKey}-help`}
>
Help Text
Expand Down
2 changes: 1 addition & 1 deletion app/pages/lab-pages-editor/icons/CollapseIcon.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export default function CollapseIcon({ alt }) {
return (
<span className="icon fa fa-caret-up" aria-label={alt} role={!!alt ? 'img' : undefined} />
<span className="icon fa fa-angle-up" aria-label={alt} role={!!alt ? 'img' : undefined} />
);
}
2 changes: 1 addition & 1 deletion app/pages/lab-pages-editor/icons/ExpandIcon.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export default function ExpandIcon({ alt }) {
return (
<span className="icon fa fa-caret-down" aria-label={alt} role={!!alt ? 'img' : undefined} />
<span className="icon fa fa-angle-down" aria-label={alt} role={!!alt ? 'img' : undefined} />
);
}
5 changes: 5 additions & 0 deletions css/lab-pages-editor.styl
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,11 @@ $fontWeightBoldPlus = 700
font-size: $fontSizeL
text-transform: uppercase

label.medium
display: block
font-size: $fontSizeM
text-transform: uppercase

label.narrow, span.narrow
> *
vertical-align: middle
Expand Down

0 comments on commit 740ed7c

Please sign in to comment.