Skip to content

Commit

Permalink
2024 Theme: Prevent inputs from shrinking when answer text is long
Browse files Browse the repository at this point in the history
Fixes #2785
  • Loading branch information
ryelle committed Jul 26, 2024
1 parent 8c8bbee commit e5aa4fe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions wp-content/themes/pub/wporg-learn-2024/src/style/_sensei.scss
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ body.sensei {
.wp-block-sensei-lms-quiz .sensei-lms-question-block__header {
margin-bottom: var(--wp--preset--spacing--20);
}

#sensei-quiz-list li ul li input,
#sensei-quiz-list .sensei-multiple-choice-answer-option-checkbox + label::before {
flex-shrink: 0;
}
}

section.wp-block-sensei-lms-course-outline {
Expand Down

0 comments on commit e5aa4fe

Please sign in to comment.