From 58503a248e7ab6b66d61d00869cdae6719e5a068 Mon Sep 17 00:00:00 2001 From: Younn Olivier Date: Wed, 16 Jun 2021 08:06:29 +0000 Subject: [PATCH] [IMP] website: disable some options for inline snippets When a snippet is displayed inside another snippet, some options that were not useful in that case are removed from the editor: - ContainerWidth - minHeight - ScrollButton - Background Part of https://github.com/odoo/odoo/pull/72180 task-2566338 closes odoo/odoo#72180 Signed-off-by: Quentin Smetz (qsm) --- addons/website/views/snippets/snippets.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/website/views/snippets/snippets.xml b/addons/website/views/snippets/snippets.xml index 03c5aeb37ee..7c2ebd05241 100644 --- a/addons/website/views/snippets/snippets.xml +++ b/addons/website/views/snippets/snippets.xml @@ -448,7 +448,7 @@ - + @@ -988,7 +988,7 @@
+ data-exclude="[data-snippet] .row > div *" data-target="> .container, > .container-fluid, > .o_container_small"> -
+
Auto 50% @@ -1012,7 +1012,7 @@
-
+