-
Notifications
You must be signed in to change notification settings - Fork 153
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
Donate help page form assembly form styling #11316
Donate help page form assembly form styling #11316
Conversation
Hi @kristinashu and design team! I now have a working, styled rendition of the donate help page form that can be found here: I was wondering if I can please get some help by having someone on the design team giving the form a look over, and letting me know if there are any more updates to the styling that I should make, or if everything looks OK? Thank you very much! |
Hi @danielfmiranda, sorry I missed this yesterday! I'm heading out on PTO this afternoon so I won't be able to review it but @nancyt1 could you please do it? At first glace it looks great! Thank you for flagging the re-captcha and the long drop down titles. |
… word wrapping on select element for chrome)
no problem @kristinashu! After our discussion during the creative-crit meeting, I have left recaptcha as is, and was able to get the dropdown menus to wrap on mobile for both Safari and Chrome browsers. However, I am still working on implementing that for Firefox. Also, I reached out to stakeholders for review and they gave the OK on the current design. @nancyt1 do you think you could please take a look at the review page whenever you find a free moment and let me know if everything is looking OK? Thanks! |
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 didn't have an android device to test on but I think everything is working as expected!
Thank you @danielfmiranda, it's looking good! Thank you @nancyt1 for reviewing! |
Thanks @kristinashu @nancyt1 for the reviews and approvals! Wanted to call one thing out regarding the dropdown wrapping issue that we had discussed earlier. While I was able to get the select element to wrap its contents on Chrome and Safari, It appears that it is not possible on FireFox. As a workaround, I updated the That way, even if the dropdown Screenshotsword-wrap working on chrome and safari:
Choice font size before (note that they are also being truncated): Choice font size after: |
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.
Nice work! The FA form looks pretty well on the page. I left one UX concern around having fixed height textarea
. Please see my inline comment. Thanks, @danielfmiranda !
} | ||
|
||
textarea { | ||
height: 10em !important; |
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.
<textarea>
by deafult can be resized by users. Setting a fixed height for <textarea>
would be confusing to users because they still see the resize control but dragging it around doesn't change the sizing due to our CSS override.
To improve the behaviours, we have three options here:
- Give
textarea
a fixedheight
& addresize: none;
to hide the resizing UI control. - Change this line to use
min-height
instead. - Don't add any height/size CSS overrides to
textarea
.
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.
Thanks for the explanation @mmmavis!
The height of the text box was updated per request of the stakeholder, however, I agree that users should be able to resize it if needed.
For that reason, I went with option 2, which is updating the height
to min-height
.
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.
Lovely! R+ ✨
Description
Link to sample test page: https://donate-foundation-s-11173-dona-mrgari.mofostaging.net/en/help/
Related PRs/issues: #11173
Screenshots