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

Add Checkbox question type #25

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open

Add Checkbox question type #25

wants to merge 3 commits into from

Conversation

miles-grant-ibigroup
Copy link
Collaborator

Screenshot 2024-10-08 at 2 26 04 PM

Curious for feedback on styling. Tried to optimize for longer answer lengths.

Copy link

vercel bot commented Oct 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
arc-deviation-survey ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 8, 2024 6:36pm
arc-survey ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 8, 2024 6:36pm
atlrides-survey ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 8, 2024 6:36pm
qa-survey ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 8, 2024 6:36pm
st-survey ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 8, 2024 6:36pm

Copy link
Contributor

@amy-corson-ibigroup amy-corson-ibigroup left a comment

Choose a reason for hiding this comment

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

Beautiful checkboxes! A few things but nothing blocking

Comment on lines +20 to +26
<>
<h1>How many stars are there in the sky?</h1>
<Checkboxes
options={['one', 'two', 'three', 'four', 'five']}
updateCallback={action('Option is selected')}
/>
</>
Copy link
Contributor

Choose a reason for hiding this comment

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

Wait is there a reason this is with an h1? I think it should be a fieldset with a legend


.container label {
display: grid;
align-items: baseline;
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this baseline is making the labels look lower than the checkboxes

baseline no baseline
image image

@@ -0,0 +1,21 @@
.container {
font-size: 25px;
width: 100%;
Copy link
Contributor

Choose a reason for hiding this comment

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

This width is making it so you can click really far away from the checkboxes and accidentally select one?

@@ -1,7 +1,9 @@
{
"name": "survey",
"version": "0.1.0",
"engines": { "node": "18.x" },
"engines": {
"node": ">=18.x"
Copy link
Contributor

Choose a reason for hiding this comment

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

woah

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