Skip to content

Commit

Permalink
Update Date Input to use inline block not floats
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave House committed Jul 31, 2018
1 parent d340ee8 commit d05746b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/date-input/_date-input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,17 @@
@include govuk-exports("govuk/component/date-input") {
.govuk-date-input {
@include govuk-clearfix;
font-size: 0;
}

.govuk-date-input__item {
display: inline-block;
margin-right: govuk-spacing(4);
margin-bottom: 0;
float: left;
clear: none;
}

.govuk-date-input__label {
display: block;
padding-bottom: 2px;
}

.govuk-date-input__input {
Expand Down

0 comments on commit d05746b

Please sign in to comment.