From 4739a841b5653028c93e7dbb7a9a59aa25caa04f Mon Sep 17 00:00:00 2001 From: "Chrysanthe (chgo)" Date: Fri, 4 Aug 2023 17:04:21 +0200 Subject: [PATCH] [FIX] hr_skills: fix pseudo-element position MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Prior to this commit, the pseudo-element in the employee resume tab was not aligned on every media-query, making it invisible on large devices. This commits ensure the visibility of the element no matter what device you are using. Task-3474635 Part of task-3326263 closes odoo/odoo#137928 X-original-commit: 036e6cdf1deb383c24967618f04070f97dd872e7 Signed-off-by: Sofie Gvaladze (sgv) Signed-off-by: Chrysanthe Gomrée (chgo) --- addons/hr_skills/static/src/fields/resume_one2many.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/addons/hr_skills/static/src/fields/resume_one2many.scss b/addons/hr_skills/static/src/fields/resume_one2many.scss index 9111ef65782..947f65751a3 100644 --- a/addons/hr_skills/static/src/fields/resume_one2many.scss +++ b/addons/hr_skills/static/src/fields/resume_one2many.scss @@ -23,7 +23,11 @@ content: ""; @include media-breakpoint-up(lg, $o-extra-grid-breakpoints) { - left: ($o-hrs-timeline-dot-size * .5 + o-to-rem($o-horizontal-padding) * 2 - o-to-rem($border-width)) + left: ($o-hrs-timeline-dot-size * .5 + o-to-rem(map-get($spacers, 4)) - o-to-rem($border-width)) + } + + @include media-breakpoint-up(xxl, $o-extra-grid-breakpoints) { + left: ($o-hrs-timeline-dot-size * .5 + o-to-rem($o-horizontal-padding) - o-to-rem($border-width)) } } }