Skip to content
Snippets Groups Projects
Commit f0ea36dc authored by Benoit Socias's avatar Benoit Socias
Browse files

[FIX] web_editor: allow aligning pictograms to the right in cards


When replacing an image by a pictogram inside columns, the pictogram
right-alignment is neutralised by the fact that the section of the card
inside the column spans over 100% width.

This commit makes pictograms in those sections rely on their auto width
instead - thus letting the right-alignment happen as expected.

Steps to reproduce:
- Drop a "Columns" block.
- Replace an image by a pictogram.
- Select the pictogram.
- Click on the "Float Right" icon in the toolbar.
=> Pictogram remained aligned to the left.

task-2841127

closes odoo/odoo#90410

Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
parent 041b50b1
No related branches found
No related tags found
No related merge requests found
......@@ -199,6 +199,9 @@ img.ml-auto, img.mx-auto {
display: block;
text-align: center;
}
.fa.card-img, .fa.card-img-top, .fa.card-img-bottom {
width: auto;
}
div.media_iframe_video {
margin: 0 auto;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment