summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Valverde <cvs@odoo.com>2021-05-04 09:21:07 +0000
committerCarlos Valverde <cvs@odoo.com>2021-05-07 14:59:30 +0000
commit166c02a9591b703dd396cbd3fe16cef0f8901830 (patch)
tree008f4efb1d31a1eca87c783e259acd474d80da33
parenta6fe2de9b9879d918f0315982b51fba345a2addd (diff)
[FIX] website_event: social icons alignment fix
A revamp of the scss of 's_share' in '14.0' has caused an issue with the class '.o_wevent_social_link' of 'website_event', making a wrong alignment of the social media icons used in this module, especially in 'event_templates_page_registration'. For this reason, this commit fixes this issue by setting the display of the '.o_wevent_social_link' class as an 'inline-flex', vertically and horizontally centered. -- task-2508497 closes odoo/odoo#70335 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
-rw-r--r--addons/website_event/static/src/scss/website_event.scss4
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/website_event/static/src/scss/website_event.scss b/addons/website_event/static/src/scss/website_event.scss
index 48b2342b806..4cb8bbb98a7 100644
--- a/addons/website_event/static/src/scss/website_event.scss
+++ b/addons/website_event/static/src/scss/website_event.scss
@@ -30,7 +30,9 @@
.o_wevent_social_link {
$o_link_size: 3em;
- display: inline-block;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
@include size($o_link_size);
margin: 0 ($spacer * .25) ($spacer * .5) ($spacer * .25);
line-height: $o_link_size;