Fix datetime fields when grouped inline
vstoykov opened this issue · comments
When in admin you group fields like that:
fields = (
'field1',
'field2',
('field3', 'field4'),
'field5',
)
Both field3
and field4
will be on the same row. The problem is when one of this fields is a datetime field because it is already split on two separate fields.
This is how it should look like:
Proposed solution:
.form-row p.datetime .vDateField{
width: calc(100% - 151px)!important;
}
.form-row p.datetime .vTimeField{
width: calc(100% - 152px)!important;
}
P.S. In the "How it should look like" i changed the styles for the select in order "delete" button to be on the same row: from width: calc(100% - 91px)!important;
to width: calc(100% - 132px)!important;
@vstoykov Thank you for reporting this issue. It is because of missing label wrapper on date and time text. I'm checking to solve this issue otherwise and will let you know when changes are merged to master.
@vstoykov datetime fields are fixed and merged to master. I'm working now on fixes for related widget links.
@vstoykov issue about related widget wrapper links is fixed and merged to master. Thank you for your feedback and let us know if we can close this issue.
Thanks @lory87 it is fixed now.