mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Added a clearing div after the date and time fields, not the best way of doing it but the only way as the overflow css trick for clearing fields doesn't work with the time dropdown (from r107811)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112698 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
30efd55852
commit
ea50868156
@ -49,7 +49,7 @@ class DatetimeField extends FormField {
|
|||||||
function Field() {
|
function Field() {
|
||||||
Requirements::css(SAPPHIRE_DIR . '/css/DatetimeField.css');
|
Requirements::css(SAPPHIRE_DIR . '/css/DatetimeField.css');
|
||||||
|
|
||||||
return $this->dateField->FieldHolder() . $this->timeField->FieldHolder();
|
return $this->dateField->FieldHolder() . $this->timeField->FieldHolder() . '<div class="clear"><!-- --></div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user