summaryrefslogtreecommitdiff
path: root/addons/website
diff options
context:
space:
mode:
authorxO-Tx <mou@odoo.com>2020-10-13 08:35:48 +0000
committerxO-Tx <mou@odoo.com>2020-10-13 08:37:17 +0000
commitf019cd677e68312f90604be6abd04a1b1755ae4d (patch)
tree9f9d7565d5d32de2ebe8158c8ecc7f2fa0a49940 /addons/website
parent0075cc02f9a11dcddaf9ca7d70cc1adf7596f6d3 (diff)
[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#57075 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/website')
-rw-r--r--addons/website/static/src/scss/website.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/website/static/src/scss/website.scss b/addons/website/static/src/scss/website.scss
index 4aaed3594a9..c5c3cc966a7 100644
--- a/addons/website/static/src/scss/website.scss
+++ b/addons/website/static/src/scss/website.scss
@@ -693,6 +693,10 @@ table.table_desc tr td {
}
}
}
+// Keeps parallax snippet element selectable when Height = auto.
+.s_parallax {
+ min-height: 10px;
+}
//
// Layout