From 1ef4567da428c5e45edf4a38c6a76876cf60bb73 Mon Sep 17 00:00:00 2001 From: Carlos Valverde Date: Tue, 4 May 2021 09:21:07 +0000 Subject: [PATCH] [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#70593 X-original-commit: 13b1412b57ba70421cc3c879636585a971f33c55 Signed-off-by: Quentin Smetz (qsm) --- .../website_event/static/src/scss/event_templates_list.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/website_event/static/src/scss/event_templates_list.scss b/addons/website_event/static/src/scss/event_templates_list.scss index 54a5002ad7f..daa0b540845 100644 --- a/addons/website_event/static/src/scss/event_templates_list.scss +++ b/addons/website_event/static/src/scss/event_templates_list.scss @@ -1,6 +1,8 @@ .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;