Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update SurveyQuestionScale layout #332

Merged
merged 8 commits into from
Jan 12, 2024
Merged

update SurveyQuestionScale layout #332

merged 8 commits into from
Jan 12, 2024

Conversation

tweetgeek
Copy link
Contributor

No description provided.

@@ -2,3 +2,8 @@ export const SURVEY_QUESTION_STATES = {
DEFAULT: 'default',
DISABLED: 'disabled',
} as const;

export const SURVEY_QUESTION_CONTAINERS = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rename it to SURVEY_QUESTION_SCALE_CONTAINERS as there are no plans to use it outside SurveyQuestionScale.

}
}

.-visibleOnMobile {
Copy link
Contributor

@rogatty rogatty Jan 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We already have -hideOnMobile so I'd rename it to -hideOnDesktop. Hiding is what it actually does. It's being used only with surveyQuestionScale__toggle so consider moving it there.

Comment on lines +204 to +206
&.-justifyEnd {
justify-content: flex-end;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You won't let Tailwind go without a fight, huh? 😆

@rogatty rogatty merged commit dd73765 into master Jan 12, 2024
1 check passed
@rogatty rogatty deleted the IT-5549-survey_grid branch January 12, 2024 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants