diff options
| author | Paramjit Singh Sahota <psa@openerp.com> | 2014-12-09 17:48:08 +0530 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2014-12-26 16:26:15 +0100 |
| commit | 5042d2396e7ca5a3321229dbf7fa8f2a374226b5 (patch) | |
| tree | 60f6d925987f9e384d024cc735f3563458464cc9 /addons/web/static/src | |
| parent | aaf37d8e87488f7fa627a447eac13d4e7e004f83 (diff) | |
[FIX] web: fixed display of datepicker in editable list view.
The icon was quite board, leading to ugly and sometimes too short display
of the date itself.
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/css/base.css | 4 | ||||
| -rw-r--r-- | addons/web/static/src/css/base.sass | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 81d8628c504..6abc51e6be2 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -2420,6 +2420,10 @@ .openerp .oe_list.oe_list_editable.oe_editing .oe_form_field.oe_form_field_datetime input.oe_datepicker_master, .openerp .oe_list.oe_list_editable.oe_editing .oe_form_field.oe_form_field_date input.oe_datepicker_master { width: 100% !important; } +.openerp .oe_list.oe_list_editable.oe_editing .oe_form_field.oe_form_field_datetime .oe_datepicker_main, .openerp .oe_list.oe_list_editable.oe_editing .oe_form_field.oe_form_field_date .oe_datepicker_main { + width: -webkit-calc(100% - 20px); + width: calc(100% - 20px); +} .openerp .oe_list.oe_list_editable.oe_editing .oe_form_field.oe_form_field_reference { display: table; } diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index fc41de6f5e7..240a6368448 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1995,6 +1995,9 @@ $sheet-padding: 16px &.oe_form_field_datetime,&.oe_form_field_date input.oe_datepicker_master width: 100% !important + .oe_datepicker_main + width: -webkit-calc(100% - 20px) + width: calc(100% - 20px) &.oe_form_field_reference display: table .oe_list_group_name |
