[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#1589

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
Elisabeth Dickinson 2022-02-14 14:33:57 +00:00 committed by Antoine Vandevenne (anv)
parent a64e95d1c6
commit c30f2735b8

View File

@ -853,7 +853,7 @@ header.o_main_header {
// alert-success // removed : never used in doc // alert-success // removed : never used in doc
.alert { .alert {
position: relative; position: relative;
display: block; display: inline-block;
border-radius: 0; border-radius: 0;
border-width: 0 0 0 3px; border-width: 0 0 0 3px;
@include font-size($font-size-secondary); @include font-size($font-size-secondary);