mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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.
This commit is contained in:
parent
048f6b19fe
commit
1a43ad5ed3
@ -1,5 +1 @@
|
||||
.datetime .middleColumn .middleColumn { margin: 0; padding: 0; clear: none; float: left; }
|
||||
|
||||
.datetime .date .middleColumn { width: 12em; }
|
||||
|
||||
.datetime .time .middleColumn { width: 15em; }
|
||||
|
@ -4,14 +4,3 @@
|
||||
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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user