[FIX] theme_bewise: fix theme SVG content centering

task-4178020

closes odoo/design-themes#973

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Mehdi Outagant (MOU)
2024-09-30 19:18:22 +02:00
parent cf227cd139
commit a4e9722bbb
@@ -192,9 +192,9 @@
<g class="s_striped_center_top">
<rect y="37" width="700" height="366" fill="#7C6576"/>
<rect x="312" y="168" width="76" height="26" rx="4" fill="#3AADAA"/>
<rect x="200" y="126" width="280" height="2" fill="#383E45" fill-opacity="0.4" class="svgc_invert" filter="url(#filter_readability_theme_bewise)"/>
<rect x="246" y="142" width="185" height="2" fill="#383E45" fill-opacity="0.4" class="svgc_invert" filter="url(#filter_readability_theme_bewise)"/>
<rect x="256" y="531" width="185" height="2" fill="#FFFFFF" fill-opacity="0.4" class="svgc_invert" filter="url(#filter_readability_theme_bewise)"/>
<rect x="210" y="126" width="280" height="2" fill="#383E45" fill-opacity="0.4" class="svgc_invert" filter="url(#filter_readability_theme_bewise)"/>
<rect x="257.5" y="142" width="185" height="2" fill="#383E45" fill-opacity="0.4" class="svgc_invert" filter="url(#filter_readability_theme_bewise)"/>
<rect x="257.5" y="531" width="185" height="2" fill="#FFFFFF" fill-opacity="0.4" class="svgc_invert" filter="url(#filter_readability_theme_bewise)"/>
<rect x="129" y="243" width="443" height="278" fill="url(#theme_bewise_s_picture_default_image_id)" class="img_reference_s_picture_default_image"/>
<text xmlns="http://www.w3.org/2000/svg" fill="#383E45" xml:space="preserve" style="white-space: pre" font-family="Darker Grotesque" font-size="28" font-weight="bold" letter-spacing="0em" class="svgc_invert" filter="url(#filter_readability_theme_bewise)" y="98.696" x="50%" text-anchor="middle">Welcome message</text>
</g>

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB