Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
In formatted address vertically align the labels above the inputs for…
Browse files Browse the repository at this point in the history
… mobile
  • Loading branch information
jbate committed Nov 25, 2015
1 parent 65bb9a8 commit 30bceff
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
7 changes: 7 additions & 0 deletions dist/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -226,4 +226,11 @@ select {
form.dual-form {
width: 100%;
}
/* Vertically align the labels, above the inputs */
.formatted-address input {
width: 100%;
}
.formatted-address label {
width: 100%;
}
}
2 changes: 1 addition & 1 deletion dist/css/styles.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions src/less/media-queries.less
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,15 @@
form, form.dual-form {
width: 100%;
}

/* Vertically align the labels, above the inputs */
.formatted-address {
input {
width: 100%;
}

label {
width: 100%;
}
}
}

0 comments on commit 30bceff

Please sign in to comment.