Skip to content

Commit

Permalink
fix: align multiselect questions with design (#3842)
Browse files Browse the repository at this point in the history
  • Loading branch information
KrissDrawing authored Feb 1, 2024
1 parent 9f35e7e commit 3c0a075
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions shared-helpers/src/views/multiselectQuestions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ export const getCheckboxOption = (
) => {
const optionFieldName = fieldName(question.text, applicationSection, option.text)
return (
<div className={`mb-5 ${option.ordinal !== 1 ? "border-t pt-5" : ""}`} key={option.text}>
<div className={`mb-5 field ${resolveObject(optionFieldName, errors) ? "error" : ""}`}>
<div className={`mb-3 ${option.ordinal !== 1 ? "pt-3" : ""}`} key={option.text}>
<div className={`mb-3 field ${resolveObject(optionFieldName, errors) ? "error" : ""}`}>
{getCheckboxField(
option,
question,
Expand All @@ -237,7 +237,7 @@ export const getCheckboxOption = (
)}
</div>
{option.description && (
<div className="ml-8 -mt-5 mb-5">
<div className="ml-8 -mt-3 mb-3">
<ExpandableContent strings={{ readMore: t("t.readMore"), readLess: t("t.readLess") }}>
<p className="field-note mb-2">
{option.description}
Expand Down

0 comments on commit 3c0a075

Please sign in to comment.