diff --git a/src/components/Question.jsx b/src/components/Question.jsx index 5e010c08..506f1986 100644 --- a/src/components/Question.jsx +++ b/src/components/Question.jsx @@ -287,6 +287,9 @@ export default class Question extends React.Component { {this.renderSubQuestions(classname)} ); + const answerableSectionStyles = this._getHeaderClassName(); + + if (this.state.expanded) answerableSectionStyles.push("text-primary"); return ( {this.renderAnswers()}