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

Date Input - Remove margin from inputs #451

Merged
merged 1 commit into from
Jan 22, 2018

Conversation

dashouse
Copy link

@dashouse dashouse commented Jan 22, 2018

The Date input component has double margins, one set on the the fieldset component, the other set on the input component.

This PR uses the existing but unused govuk-c-date-input__input class to remove the margin-bottom on these inputs.

Before
screen shot 2018-01-22 at 13 56 21

After
screen shot 2018-01-22 at 13 56 04

https://trello.com/c/8vemD70Q/527-date-input-text-input-inside-fieldset-has-double-margin

Copy link
Contributor

@NickColley NickColley left a comment

Choose a reason for hiding this comment

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

Looks great

@dashouse dashouse merged commit 96476f7 into master Jan 22, 2018
@dashouse dashouse deleted the remove-double-margin-from-date-input branch January 22, 2018 14:04
@NickColley
Copy link
Contributor

Forgot we should update the changelog, sorry Dave 😓

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