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

Foorm: improve styling #34981

Merged
merged 2 commits into from
May 27, 2020
Merged

Foorm: improve styling #34981

merged 2 commits into from
May 27, 2020

Conversation

breville
Copy link
Member

@breville breville commented May 27, 2020

This improves the styling of matrix questions on both mobile (below 600px width) and larger (600px and wider). In the latter case, the question gets 40% of the width while the remaining space is divided evenly between however many options are provided. The heading font is also reduced in weight and size. Layout on mobile is improved.

It also improves the styling of rating questions by centering them.

matrix

desktop

before

Screenshot 2020-05-26 23 00 08

after

Screenshot 2020-05-26 23 03 19

mobile

before

Screenshot 2020-05-26 23 00 27

after

Screenshot 2020-05-26 23 01 42

rating

before

Screenshot 2020-05-26 23 22 50

after

Screenshot 2020-05-26 23 23 32

Followup to #33852.

This improves the styling of matrix questions on both mobile (below 600px width) and larger (600px and wider).  In the latter case, the question gets 40% of the width while the remaining space is divided evenly between however many options are provided.  The heading font is also reduced in weight and size.
@breville breville requested review from molly-moen, bakerfranke and a team May 27, 2020 06:08
Copy link
Contributor

@molly-moen molly-moen left a comment

Choose a reason for hiding this comment

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

🎉

@breville breville merged commit f39309b into staging May 27, 2020
@breville breville deleted the foorm-style-more branch May 27, 2020 20:20
breville added a commit that referenced this pull request May 27, 2020
Followup to #34981 which improves the matrix question header more.

By making its text smaller, we should reduce the frequency of words being split into new lines.
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.

None yet

2 participants