Files
odoo_source/addons/website/static/src/xml/website.share.xml
T
qsm-odoo 08807fcba9 [IMP] website: keep social media popover on one row
Before this commit, the social media popover (used in forum but
available everywhere) may break over multiple rows if used on a relative
positioned small button. This however never occurred in standard <= 12.0
so we will consider this not a bug fix. This will however occur with
the upcoming forum refactoring, so we needed a fix for master.

This commit forces the social icons on one row and take the opportunity
to refactor the template to make a simpler and more beautiful popover
by using conventional icons and social media own colors.

closes odoo/odoo#29327
2018-12-06 18:09:54 +00:00

14 lines
496 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<t t-name="website.social_hover">
<div class="text-nowrap css_editable_mode_hidden">
<t t-foreach="medias" t-as="media">
<a href="#"
t-attf-class="fa fa-3x fa-#{media}-square text-#{media} oe_social_#{media}"
t-att-title="media"
t-att-aria-label="media"/>
</t>
</div>
</t>
</templates>