From 7d58fe2c1659db952c5b429b748be5be37a3bbef Mon Sep 17 00:00:00 2001 From: AH-Yussef Date: Thu, 23 Nov 2023 09:00:23 +0000 Subject: [PATCH] [FIX] web: align progress bar to end of table cell Steps to reproduce: - intall Employee app - install HR Gamification module (not an app) - Go to Employees app - Go to Configuration > Challenges > Challenges - Create a new challenge with goals and participants - Go to Configuration > Challenges > Goals History - Open up a group - The word "Completeness" and the progress bar is not aligned correctly, the bar is supposed to be directly underneath the label. Investigation - The styling of the progress bar inside table cells https://github.com/odoo/odoo/blob/1f12670a8061a4eb3fd57abca238d8daf7ef574d/addons/web/static/src/views/fields/progress_bar/progress_bar_field.scss#L27-L32 was missing to align the progress bar to the end of the containing flex box opw-3599052 closes odoo/odoo#145190 X-original-commit: 9a02e535882bf6844fffdb7c6a71053645e3af68 Signed-off-by: Aaron Bohy (aab) Signed-off-by: Ali Hassan Youssef (alhy) --- .../src/views/fields/progress_bar/progress_bar_field.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/src/views/fields/progress_bar/progress_bar_field.scss b/addons/web/static/src/views/fields/progress_bar/progress_bar_field.scss index fb1e70aaaed..28b9ac67acc 100644 --- a/addons/web/static/src/views/fields/progress_bar/progress_bar_field.scss +++ b/addons/web/static/src/views/fields/progress_bar/progress_bar_field.scss @@ -28,7 +28,7 @@ .o_progressbar { // Force progress bars to respect table's layout display: table-row; - justify-content: flex-end; + justify-content: end; .o_rtl & { justify-content: flex-start; text-align: right;