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

fix: smiley rating question now fits inside container #839

Conversation

ShubhamPalriwala
Copy link
Contributor

What does this PR do?

Smileys in Rating question were extending out of the container when 10 were selected! Added a check to reduce the size when they are 10 as for the other cases, it worked fine!

https://www.loom.com/share/cd2ffa75d46c412fbda5b51bf7676db0?sid=d7ed70f2-8a31-4ba9-ae9c-c6364c18f498

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How should this be tested?

Test the smileys in preview in mobile and modal

Checklist

  • Added a screen recording or screenshots to this PR
  • Filled out the "How to test" section in this PR
  • Read the contributing guide
  • Self-reviewed my own code
  • Commented on my code in hard-to-understand bits
  • Ran pnpm build
  • Checked for warnings, there are none
  • Removed all console.logs
  • Merged the latest changes from main onto my branch with git pull origin main
  • My changes don't cause any responsiveness issues
  • Updated the Formbricks Docs if changes were necessary

@vercel
Copy link

vercel bot commented Sep 21, 2023

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

Name Status Preview Comments Updated (UTC)
formbricks-cloud ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 2, 2023 4:22pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
formbricks-com ⬜️ Ignored (Inspect) Visit Preview Oct 2, 2023 4:22pm

@github-actions
Copy link
Contributor

github-actions bot commented Sep 21, 2023

Thank you for following the naming conventions for pull request titles! 🙏

@jobenjada
Copy link
Member

Hey! thanks for picking this up :)

Looks like there is a space here:

Screenshot 2023-09-22 at 15 42 43

Pls make sure its centered and also covers the full width (like with the first smiley starting exactly where the label starts)

Thanks!

@mattinannt
Copy link
Member

@ShubhamPalriwala please fix the spacing issues mentioned by Johannes :-)

@mattinannt mattinannt self-assigned this Sep 30, 2023
…shubham/for-1331-smiley-rating-question-with-10-elements-too-long-for
…shubham/for-1331-smiley-rating-question-with-10-elements-too-long-for
@ShubhamPalriwala
Copy link
Contributor Author

Screenshot_2023-10-02-21-44-16_5760x1080

Made the row centrally aligned, should be good now 🤞🏼

@mattinannt please see if you can get the time to review this

@mattinannt mattinannt merged commit 8f35537 into main Oct 3, 2023
11 of 12 checks passed
@mattinannt mattinannt deleted the shubham/for-1331-smiley-rating-question-with-10-elements-too-long-for branch October 3, 2023 12:59
waseemrabani pushed a commit to LuminosoInsight/formbricks that referenced this pull request Feb 2, 2024
* fix: smily rating question fit inside container

* wip

* fix: make row center aligned
waseemrabani pushed a commit to LuminosoInsight/formbricks that referenced this pull request Feb 2, 2024
* fix: smily rating question fit inside container

* wip

* fix: make row center aligned
waseemrabani pushed a commit to LuminosoInsight/formbricks that referenced this pull request Feb 2, 2024
* fix: smily rating question fit inside container

* wip

* fix: make row center aligned
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.

3 participants