-
Notifications
You must be signed in to change notification settings - Fork 1
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
Conversation
lib/js/components/SurveyQuestions/SurveyQuestionScale/SurveyQuestionScale.vue
Show resolved
Hide resolved
@@ -2,3 +2,8 @@ export const SURVEY_QUESTION_STATES = { | |||
DEFAULT: 'default', | |||
DISABLED: 'disabled', | |||
} as const; | |||
|
|||
export const SURVEY_QUESTION_CONTAINERS = { |
There was a problem hiding this comment.
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 { |
There was a problem hiding this comment.
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.
&.-justifyEnd { | ||
justify-content: flex-end; | ||
} |
There was a problem hiding this comment.
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? 😆
No description provided.