[FIX] l10n_de: DIN5008: fix margin between top edge and image below

Previously a 10mm margin was added between the top edge and the image below.
The way the margin was added only offsets the picture by 10mm without
adjusting the image size (see PR #143383).

This may lead to an overlap between the image and text
below (depending on the dimensions of the image).

This fixes this issue by putting the 10mm margin "inside" the image
instead of "outside" of it. Thus the size of the image is adjusted correctly.

closes odoo/odoo#144687

X-original-commit: 1676436f522399e78877725d99e845550f1b5c9a
Signed-off-by: Brice Bartoletti (bib) <bib@odoo.com>
This commit is contained in:
Sven Fuehr
2023-12-02 00:42:53 +00:00
parent 77b5499b4e
commit 6e68fdd959
@@ -19,7 +19,7 @@
margin-bottom: -10mm;
}
img {
margin-top: 10mm;
padding-top: 10mm;
float: right;
}
}