From 8aef897c707ffe56770efcb0480a65aa27eef929 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20D=2E=20D=C3=ADaz?= Date: Thu, 4 Feb 2021 14:15:55 +0100 Subject: [PATCH] [IMP] web_widget_one2many_product_picker: BS grid columns --- web_widget_one2many_product_picker/README.rst | 7 +++++++ .../readme/CONFIGURE.rst | 7 +++++++ .../static/description/index.html | 20 ++++++++----------- .../static/src/scss/main_variables.scss | 6 ++++++ .../src/scss/one2many_product_picker.scss | 2 ++ .../src/xml/one2many_product_picker.xml | 2 +- .../templates/assets.xml | 6 ++++++ 7 files changed, 37 insertions(+), 13 deletions(-) create mode 100644 web_widget_one2many_product_picker/static/src/scss/main_variables.scss diff --git a/web_widget_one2many_product_picker/README.rst b/web_widget_one2many_product_picker/README.rst index 418951d79..0587024f2 100644 --- a/web_widget_one2many_product_picker/README.rst +++ b/web_widget_one2many_product_picker/README.rst @@ -177,6 +177,13 @@ Other example for 'purchase.order.line' fields: + +Boostrap Modifications: +~~~~~~~~~~~~~~~~~~~~~~~ + +The product picker view container have a custom media queries space adding a new screen size called 'xxl' (>= 1440px) and modifies the columns to have 24 instead of 12. +This means that you can use "col-xxl-" inside the product picker view container. + Usage ===== diff --git a/web_widget_one2many_product_picker/readme/CONFIGURE.rst b/web_widget_one2many_product_picker/readme/CONFIGURE.rst index 3fd01a9b4..1e5f8698b 100644 --- a/web_widget_one2many_product_picker/readme/CONFIGURE.rst +++ b/web_widget_one2many_product_picker/readme/CONFIGURE.rst @@ -134,3 +134,10 @@ Other example for 'purchase.order.line' fields: + + +Boostrap Modifications: +~~~~~~~~~~~~~~~~~~~~~~~ + +The product picker view container have a custom media queries space adding a new screen size called 'xxl' (>= 1440px) and modifies the columns to have 24 instead of 12. +This means that you can use "col-xxl-" inside the product picker view container. diff --git a/web_widget_one2many_product_picker/static/description/index.html b/web_widget_one2many_product_picker/static/description/index.html index 941f4dc72..7a1f7b64a 100644 --- a/web_widget_one2many_product_picker/static/description/index.html +++ b/web_widget_one2many_product_picker/static/description/index.html @@ -377,10 +377,10 @@ ul.auto-toc {
  • Widget options:
  • Default context:
  • Examples:
  • +
  • Boostrap Modifications:
  • -
  • Usage