mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[FIX] theme_*: make s_picture image responsive by default
Some themes were making the s_picture image responsive on their own. It
is now done generically, so the theme extensions must be removed to be
able to merge.
task-3266862
closes odoo/design-themes#787
X-original-commit: 08cb536b02
Related: odoo/odoo#157813
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
We combine a wide spectrum of technologies with a good portion of creativity.
|
||||
</xpath>
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="class" add="img-fluid" remove="img-thumbnail" separator=" "/>
|
||||
<attribute name="class" remove="img-thumbnail" separator=" "/>
|
||||
<attribute name="src">/web_editor/image_shape/website.s_picture_default_image/web_editor/composition/composition_organic_line.svg?c2=o-color-2</attribute>
|
||||
<attribute name="data-shape">web_editor/composition/composition_organic_line</attribute>
|
||||
<attribute name="data-original-mimetype">image/jpeg</attribute>
|
||||
|
||||
@@ -175,7 +175,7 @@
|
||||
<attribute name="class" add="container-fluid px-5 px-lg-0" remove="container" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="class" add="img-fluid" remove="img-thumbnail padding-large" separator=" "/>
|
||||
<attribute name="class" remove="img-thumbnail padding-large" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//figcaption" position="replace">
|
||||
<figcaption class="text-400"><em>Our office in Dhaka</em></figcaption>
|
||||
|
||||
@@ -290,7 +290,7 @@
|
||||
</xpath>
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="src">/web_editor/shape/theme_paptic/s_picture.svg?c1=o-color-1</attribute>
|
||||
<attribute name="class" add="img-fluid" remove="img-thumbnail" separator=" "/>
|
||||
<attribute name="class" remove="img-thumbnail" separator=" "/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
</xpath>
|
||||
<!-- Image + Shape -->
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="class" add="img-fluid" remove="img-thumbnail padding-large" separator=" "/>
|
||||
<attribute name="class" remove="img-thumbnail padding-large" separator=" "/>
|
||||
<attribute name="src">/web_editor/image_shape/website.s_picture_default_image/web_editor/special/special_filter.svg</attribute>
|
||||
<attribute name="data-file-name">01.svg</attribute>
|
||||
<attribute name="data-shape">web_editor/special/special_filter</attribute>
|
||||
|
||||
@@ -159,7 +159,7 @@
|
||||
</xpath>
|
||||
<!-- Image + Shape -->
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="class" add="img-fluid" remove="img-thumbnail padding-large" separator=" "/>
|
||||
<attribute name="class" remove="img-thumbnail padding-large" separator=" "/>
|
||||
<attribute name="src">/web/image/website.s_picture_default_image</attribute>
|
||||
<attribute name="data-file-name">01.svg</attribute>
|
||||
</xpath>
|
||||
|
||||
Reference in New Issue
Block a user