From 5da4fa46970f7f79cf2cb7e2c2488a3b20430a98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Lef=C3=A8vre?= Date: Thu, 21 Feb 2019 12:21:39 +0000 Subject: [PATCH] [FIX] hr_skills: Fix skills widget table layout The three columns in the skills widget (namely: skill name, skill level and progress) did not evenly span the width of the table. This commit set the css width attribute of the first two columns to 33%. The last column (added by js) takes the remaining space) closes odoo/odoo#31326 --- addons/hr_skills/static/src/css/hr_skills.scss | 4 ++++ addons/hr_skills/static/src/xml/skills_templates.xml | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/addons/hr_skills/static/src/css/hr_skills.scss b/addons/hr_skills/static/src/css/hr_skills.scss index 12a7496bd84..cb1a7072922 100644 --- a/addons/hr_skills/static/src/css/hr_skills.scss +++ b/addons/hr_skills/static/src/css/hr_skills.scss @@ -11,6 +11,10 @@ background-color: #e9ecef; } + td.o_skill_cell { + width: 33%; + } + .o_group_resume tbody tr.o_resume_group_header th { font-weight: normal; } diff --git a/addons/hr_skills/static/src/xml/skills_templates.xml b/addons/hr_skills/static/src/xml/skills_templates.xml index 90e29117630..b6d89e04a3d 100644 --- a/addons/hr_skills/static/src/xml/skills_templates.xml +++ b/addons/hr_skills/static/src/xml/skills_templates.xml @@ -4,10 +4,10 @@ - + - +