Skip to content

Commit

Permalink
Removed DateField special width with .hasDatepicker class
Browse files Browse the repository at this point in the history
Causes field to change width after first display,
as the .hasDatepicker class is added dynamically on first field focus.
Since we don't add an icon by default, there's no difference
between an <input> field with date picker, an input field for dates,
and a simple input field. Fall back to global (or CMS specific) rules.
  • Loading branch information
chillu committed Aug 27, 2012
1 parent 76dd8cc commit e4db3c6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion admin/css/screen.css

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

5 changes: 0 additions & 5 deletions admin/scss/_forms.scss
Expand Up @@ -236,11 +236,6 @@ form.small .field, .field.small {
}

/* Date Fields */
input.hasDatepicker {
width: 50%;
max-width: ($grid-x * 12);
}

input.month, input.day, input.year {
width: ($grid-x * 7);
}
Expand Down

0 comments on commit e4db3c6

Please sign in to comment.