Skip to content

Commit

Permalink
General improvements to the layout of forms and span error elements
Browse files Browse the repository at this point in the history
  • Loading branch information
baphled committed Jun 18, 2010
1 parent 031356c commit 5fa6736
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions app/stylesheets/partials/_custom_errors.sass
Expand Up @@ -2,6 +2,8 @@ body.salad
span.error
:position relative
:display inline-block
:margin 0.2em
:padding 0.2em
#errorExplanation
:padding-left 15px
ul
Expand Down
7 changes: 5 additions & 2 deletions public/stylesheets/formtastic_changes.css
Expand Up @@ -9,9 +9,12 @@ form.formtastic fieldset ol li p.inline-hints { color:#333; }
--------------------------------------------------------------------------------------------------*/
form.formtastic fieldset ol li label {
width: 15%
width: 10%;
display: block;
float: left;
padding-top: 0.2em;
}

form.formtastic fieldset ol li.string input, form.formtastic fieldset ol li.text textarea {
width: 54%
width: 45%
}

0 comments on commit 5fa6736

Please sign in to comment.