From 647a7bd488c1738ae4639bd60b554f0a5730b213 Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Tue, 23 Jan 2024 14:07:39 +0000 Subject: [PATCH] [FIX] web_widget_numeric_step: list view column min width Default width is too narrow for these fields in list views, which makes it uncomfortable to use in desktops. @moduon MT-4472 --- web_widget_numeric_step/static/src/numeric_step.scss | 8 ++++++++ 1 file changed, 8 insertions(+) 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}); +}