[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#1592
X-original-commit: c30f2735b8
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
parent
1518074e68
commit
6e17f7a40b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user