From afa80ec1495a252323be798a9dffead60e1ebeb9 Mon Sep 17 00:00:00 2001 From: xO-Tx Date: Tue, 13 Oct 2020 08:35:48 +0000 Subject: [PATCH] [FIX] website: fix invisible parallax snippet issue When the height not forced (50% or 100% screen's height), the snippet simply disappear if there is no content inside (default). The 4e220bf commit makes parallax snippet empty by default and the main goal of a8f0cee was to make "DRAG BUILDING BLOCK HERE" placeholders appear only on drag, that's why we need to add a "min-height" for parallax to keep it visible when the "Height" selected is auto. task-2327025 closes odoo/odoo#60032 X-original-commit: f019cd677e68312f90604be6abd04a1b1755ae4d Signed-off-by: Quentin Smetz (qsm) --- addons/website/static/src/scss/website.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/addons/website/static/src/scss/website.scss b/addons/website/static/src/scss/website.scss index 31315fc84fe..5a7dfedb316 100644 --- a/addons/website/static/src/scss/website.scss +++ b/addons/website/static/src/scss/website.scss @@ -698,6 +698,10 @@ table.table_desc tr td { } } } +// Keeps parallax snippet element selectable when Height = auto. +.s_parallax { + min-height: 10px; +} // // Layout