From f9b373361d554ae6eaf4b22b188020bc5ffbb716 Mon Sep 17 00:00:00 2001 From: Elisabeth Dickinson Date: Mon, 14 Feb 2022 14:33:57 +0000 Subject: [PATCH] [IMP] odoo_theme: switch admonitions' display type to inline-block When placing an image before an admonition block and setting its alignment to left or right, the admonition block would hide the image. The reason for this is the use of "float" on the image. In order for the image to reappear, we change the admonition's `display: block` to `display: inline-block`. task-2582954 closes odoo/documentation#1591 X-original-commit: c30f2735b8ee5afa228f183bd6ecafc2f74e18ea Signed-off-by: Antoine Vandevenne (anv) --- extensions/odoo_theme/static/style.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/odoo_theme/static/style.scss b/extensions/odoo_theme/static/style.scss index dc4fb4113..a1538bfb8 100644 --- a/extensions/odoo_theme/static/style.scss +++ b/extensions/odoo_theme/static/style.scss @@ -853,7 +853,7 @@ header.o_main_header { // alert-success // removed : never used in doc .alert { position: relative; - display: block; + display: inline-block; border-radius: 0; border-width: 0 0 0 3px; @include font-size($font-size-secondary);