diff --git a/web_widget_numeric_step/README.rst b/web_widget_numeric_step/README.rst index c244d81b3..a821ca88a 100644 --- a/web_widget_numeric_step/README.rst +++ b/web_widget_numeric_step/README.rst @@ -7,7 +7,7 @@ Web Widget Numeric Step !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:08fa3eb42c224d0c7036626e3c67cd9426810dfc3dd22de787374d7adc9fe2d6 + !! source digest: sha256:aa00ea1d2e4245170c8f2a6e774bffe29af982ceddd43292a7871cf6f194fc25 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png diff --git a/web_widget_numeric_step/__manifest__.py b/web_widget_numeric_step/__manifest__.py index 0f44d0e14..6fedd89e7 100644 --- a/web_widget_numeric_step/__manifest__.py +++ b/web_widget_numeric_step/__manifest__.py @@ -5,7 +5,7 @@ { "name": "Web Widget Numeric Step", "category": "web", - "version": "16.0.1.1.2", + "version": "16.0.1.1.3", "author": "GRAP, Tecnativa, " "Odoo Community Association (OCA)", "license": "AGPL-3", "website": "https://github.com/OCA/web", diff --git a/web_widget_numeric_step/static/description/index.html b/web_widget_numeric_step/static/description/index.html index d5a4116e1..2f907f713 100644 --- a/web_widget_numeric_step/static/description/index.html +++ b/web_widget_numeric_step/static/description/index.html @@ -366,7 +366,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:08fa3eb42c224d0c7036626e3c67cd9426810dfc3dd22de787374d7adc9fe2d6 +!! source digest: sha256:aa00ea1d2e4245170c8f2a6e774bffe29af982ceddd43292a7871cf6f194fc25 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
This widget changes input number field and make it easier to increment the number thanks to 2 buttons (+ and -). diff --git a/web_widget_numeric_step/static/src/numeric_step.scss b/web_widget_numeric_step/static/src/numeric_step.scss index b7ed1c492..04a55184f 100644 --- a/web_widget_numeric_step/static/src/numeric_step.scss +++ b/web_widget_numeric_step/static/src/numeric_step.scss @@ -12,3 +12,11 @@ visibility: visible; } } + +.o_numeric_step_cell { + // Default for old browsers + min-width: 15 * $btn-padding-x; + // Value hardcoded in `FIXED_FIELD_COLUMN_WIDTHS.float` + width of 2 + // FontAwesome icons + 2 buttons * 2 horizontal paddings + min-width: calc(92px + 2ex + 4 * #{$btn-padding-x}); +}