From abda2bb60a8e3a4a5116e8346e842b7b065f4ab8 Mon Sep 17 00:00:00 2001 From: "Louis (loco)" Date: Thu, 23 Mar 2023 12:09:04 +0000 Subject: [PATCH] [FIX] website_blog: adjust the width of the border when inside column Steps to reproduce the bug: - Go on the blog of the website. - Edit. - In the "Customize" section, apply the "List" "Layout" and activate the "Sidebar". -> The sidebar appears at the bottom of the page instead of on the side. The situation looks like this: ```html
``` The bug comes from the fact that the `div` with the `border-end` class is inside a `row` class. Due to that, a bootstrap 5 css rule applies and puts the `width` of the `div.border-end` element to `100%`. Because the element tries to fill the entire width of the `div.row`, it is put at the bottom of the page as well as its following elements (in this case, the sidebar). This bug is fixed by removing the `div.border-end` element. opw-3217775 closes odoo/odoo#117849 X-original-commit: 9d8b895b934e5b0986c932837fd043cf847a8992 Signed-off-by: Quentin Smetz (qsm) --- addons/website_blog/views/website_blog_templates.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/website_blog/views/website_blog_templates.xml b/addons/website_blog/views/website_blog_templates.xml index 60caf8b2d4f..d1167998d60 100644 --- a/addons/website_blog/views/website_blog_templates.xml +++ b/addons/website_blog/views/website_blog_templates.xml @@ -171,7 +171,6 @@ list of filtered posts (by date or tag).