Permalink
Browse files

Tightened up vertical spacing for form field containers at smartphone…

… widths

There was more spacing between elements than needed, this cleans it up.
  • Loading branch information...
toddparker committed Dec 22, 2011
1 parent 055e15e commit e476ea615f421b0acba3086545433ffe48ee55bc
@@ -1,6 +1,6 @@
.ui-controlgroup, fieldset.ui-controlgroup { padding: 0; margin: .5em 0 1em; }
.ui-controlgroup, fieldset.ui-controlgroup { padding: 0; margin: 0em 0 .5em; }
.ui-bar .ui-controlgroup { margin: 0 .3em; }
.ui-controlgroup-label { font-size: 16px; line-height: 1.4; font-weight: normal; margin: 0 0 .3em; }
.ui-controlgroup-label { font-size: 16px; line-height: 1.4; font-weight: normal; margin: 0 0 .4em 0; }

This comment has been minimized.

Show comment
Hide comment
@jakeboone02

jakeboone02 Dec 22, 2011

Contributor

@toddparker - Just curious why you added the last "0" there. Isn't it unnecessary since the second value is also "0"? Readability?

@jakeboone02

jakeboone02 Dec 22, 2011

Contributor

@toddparker - Just curious why you added the last "0" there. Isn't it unnecessary since the second value is also "0"? Readability?

This comment has been minimized.

Show comment
Hide comment
@toddparker

toddparker Dec 22, 2011

Contributor

That was mainly because I was fiddling with margins on all sides earlier and that ended up being left in. We could go back to the shorthand notation.

@toddparker

toddparker Dec 22, 2011

Contributor

That was mainly because I was fiddling with margins on all sides earlier and that ended up being left in. We could go back to the shorthand notation.

This comment has been minimized.

Show comment
Hide comment
@jakeboone02

jakeboone02 Dec 22, 2011

Contributor

Done - #3318

@jakeboone02

jakeboone02 Dec 22, 2011

Contributor

Done - #3318

.ui-controlgroup-controls { display: block; width: 100%;}
.ui-controlgroup li { list-style: none; }
.ui-controlgroup-vertical .ui-btn,
@@ -1,4 +1,4 @@
.ui-field-contain, fieldset.ui-field-contain { padding: 1.5em 0; margin: 0; border-width: 0 0 1px 0; overflow: visible; }
.ui-field-contain, fieldset.ui-field-contain { padding: .8em 0; margin: 0; border-width: 0 0 1px 0; overflow: visible; }
.ui-field-contain:first-child { border-top-width: 0; }
@media all and (min-width: 450px){
.ui-field-contain, .ui-mobile fieldset.ui-field-contain { border-width: 0; padding: 0; margin: 1em 0; }

0 comments on commit e476ea6

Please sign in to comment.