mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[FIX] website: remove fs-5 class from s_features icons
This commit removes a `fs-5` that was added on icons within the `s_features` snippet. Currently, the size of icons are handled in two different ways : 1) if the icon has a `rounded` class, we have a CSS property setting the width to a certain size. 2) if the icon doesn't have the `rounded` class, it uses the default behaviour, meaning the `fa-*x` class will set a font-size. In this case, as there was a `fs-*` class applied, it prevented the icon to scale. This commit fixes the issue by removing the extra class. task-4182400 closes odoo/design-themes#918 Related: odoo/odoo#180032 Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
</xpath>
|
||||
<!-- Column #01 -->
|
||||
<xpath expr="//div[hasclass('row')]/div[1]/i" position="replace">
|
||||
<i class="s_features_icon fa fa-image mb-3 rounded fs-5" role="img"/>
|
||||
<i class="s_features_icon fa fa-image mb-3 rounded" role="img"/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div[1]/div/h3" position="replace" mode="inner">
|
||||
<b>Stunning visuals</b>
|
||||
@@ -18,7 +18,7 @@
|
||||
</xpath>
|
||||
<!-- Column #02 -->
|
||||
<xpath expr="//div[hasclass('row')]/div[2]/i" position="replace">
|
||||
<i class="s_features_icon fa fa-eye mb-3 rounded fs-5" role="img"/>
|
||||
<i class="s_features_icon fa fa-eye mb-3 rounded" role="img"/>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('row')]/div[2]/div/h3" position="replace" mode="inner">
|
||||
<b>360-degree vision</b>
|
||||
|
||||
Reference in New Issue
Block a user