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

Reduce width of form and fix label font sizes #359

Merged
merged 1 commit into from Mar 31, 2021
Merged

Conversation

samwilson
Copy link
Member

Copy link
Member

@MusikAnimal MusikAnimal left a comment

Choose a reason for hiding this comment

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

Seems to meet the acceptance criteria! I'm assuming @nayoub wanted the content to be centered (this is unclear from the mockup)?

Screenshot from 2021-03-30 22-38-05

The only issue I see is this breaks the mobile responsiveness, which I think can be fixed by simply using max-width instead of width.

/* 1170 is bootstrap's widest breakpoint, and the 85 and 20 are for the logo. */
width: calc( 1170px + ( ( 85px + 20px ) * 2 ) );
/* 585 is the container width set above, and the 85 and 20 are for the logo. */
width: calc( 585px + ( ( 85px + 20px ) * 2 ) );
Copy link
Member

Choose a reason for hiding this comment

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

This and above should maybe be max-width to retain the responsive design. Otherwise content exceeds the viewport on mobile devices.

@nayoub
Copy link

nayoub commented Mar 31, 2021

Yes exactly, centered looks great! Thanks @MusikAnimal & @samwilson!

Copy link
Member

@MusikAnimal MusikAnimal left a comment

Choose a reason for hiding this comment

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

Pixel perfect!

@MusikAnimal MusikAnimal merged commit b47907c into main Mar 31, 2021
@MusikAnimal MusikAnimal deleted the ui-tweaks-2 branch March 31, 2021 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants