From 13d9e24d3ae35a2519dc944c5abfa389e2039151 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20D=2E=20D=C3=ADaz?= Date: Thu, 21 Jan 2021 15:28:37 +0100 Subject: [PATCH] [IMP] web_widget_one2many_product_picker: Remove height limit --- .../static/src/scss/one2many_product_picker.scss | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/web_widget_one2many_product_picker/static/src/scss/one2many_product_picker.scss b/web_widget_one2many_product_picker/static/src/scss/one2many_product_picker.scss index e0c3af1c5..3beb00318 100644 --- a/web_widget_one2many_product_picker/static/src/scss/one2many_product_picker.scss +++ b/web_widget_one2many_product_picker/static/src/scss/one2many_product_picker.scss @@ -19,9 +19,15 @@ width: unset !important; } - #product_picker_total > h2 { - margin: 0; - padding: 0.5rem; + #product_picker_total { + position: sticky; + bottom: 0; + background-color: $secondary; + + > h2 { + margin: 0; + padding: 0.5rem; + } } .o_cp_buttons { @@ -39,7 +45,6 @@ } .oe_one2many_product_picker_view { - max-height: $one2many-product-picker-max-height; overflow: auto; > .row {