Permalink
Browse files

Removed widths on DatetimeField children

Makes it more flexible in regards to field widths,
e.g. DMY fields vs. a single input field. Also allows
to extend with additional fields more easily, e.g.
a drop down through the "timedropdownfield" module.
  • Loading branch information...
1 parent 048f6b1 commit 1a43ad5ed3ecfcc53dda43edec3d5614c09bf90d @chillu chillu committed Feb 7, 2013
Showing with 0 additions and 15 deletions.
  1. +0 −4 css/DatetimeField.css
  2. +0 −11 scss/DatetimeField.scss
View
@@ -1,5 +1 @@
.datetime .middleColumn .middleColumn { margin: 0; padding: 0; clear: none; float: left; }
-
-.datetime .date .middleColumn { width: 12em; }
-
-.datetime .time .middleColumn { width: 15em; }
View
@@ -3,15 +3,4 @@
padding: 0;
clear: none;
float: left;
-}
-
-.datetime .date .middleColumn {
- // Fits a standard date, as well as most abbreviated month names
- width: 12em;
-}
-
-.datetime .time .middleColumn {
- // make room to accommodate for additional modifier fields,
- // such as a dropdown field to preselect time
- width: 15em;
}

0 comments on commit 1a43ad5

Please sign in to comment.