From b542ceec63b394bd8d08d1c19c88beb4a7573dad Mon Sep 17 00:00:00 2001 From: Florian Charlier Date: Fri, 12 Aug 2022 09:09:39 +0000 Subject: [PATCH] [FIX] website_slides: fix embed-over-nav overlap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The `ratio` class used for embeds creates a static context. Using `position: relative` for the subsequent element makes sure it doesn't end up 'under' the embed on large viewports sizes. For simplicity, we chose to not test for the actual presence of an embed or window size before applying position-relative on the next div. Task-2663320 Part of odoo/odoo#79615 Signed-off-by: Warnon Aurélien (awa) --- addons/website_slides/views/website_slides_templates_lesson.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website_slides/views/website_slides_templates_lesson.xml b/addons/website_slides/views/website_slides_templates_lesson.xml index ee523d0ff8c..f86a9d64b4a 100644 --- a/addons/website_slides/views/website_slides_templates_lesson.xml +++ b/addons/website_slides/views/website_slides_templates_lesson.xml @@ -309,7 +309,7 @@ -
+