diff --git a/addons/hr/__manifest__.py b/addons/hr/__manifest__.py
index 599c49b168a..2f99f5a8b0d 100644
--- a/addons/hr/__manifest__.py
+++ b/addons/hr/__manifest__.py
@@ -56,7 +56,7 @@
'hr/static/src/views/**/*.js',
'hr/static/src/components/**/*',
'hr/static/src/user_menu/*.js',
- 'hr/static/src/scss/hr.scss',
+ 'hr/static/src/scss/*.scss',
'hr/static/src/js/m2x_avatar_employee.js',
'hr/static/src/js/standalone_m2o_avatar_employee.js',
'hr/static/src/js/work_permit_upload.js',
diff --git a/addons/hr/static/src/scss/hr.scss b/addons/hr/static/src/scss/hr.scss
index 1bccdccfc8b..1670c1913b4 100644
--- a/addons/hr/static/src/scss/hr.scss
+++ b/addons/hr/static/src/scss/hr.scss
@@ -4,7 +4,38 @@
}
.o_employee_form {
+ .o_employee_avatar {
+ position: absolute;
+ top: 60px;
+ right: 10px;
+ display: flex;
+ flex-direction: column;
+ align-items: flex-start;
+ .o_employee_availability {
+ position: absolute;
+ top: -5px;
+ right: -5px;
+ padding-bottom: 1px;
+ border-radius: 50%;
+ background-color: $o-view-background-color;
+ height: 1rem;
+ width: 1rem;
+ * {
+ margin-bottom: -1px;
+ height: 1rem;
+ width: 1rem;
+ }
+ }
+ }
.oe_title {
max-width: 75%;
}
}
+
+.o_hr_narrow_field {
+ width: 8rem!important;
+ max-width: 8rem!important;
+ * {
+ max-width: 100%;
+ }
+}
diff --git a/addons/hr/static/src/scss/res_config_settings.scss b/addons/hr/static/src/scss/res_config_settings.scss
new file mode 100644
index 00000000000..f6ca8c1271a
--- /dev/null
+++ b/addons/hr/static/src/scss/res_config_settings.scss
@@ -0,0 +1,3 @@
+input#hr_presence_control_email_amount {
+ max-width: 5rem;
+}
diff --git a/addons/hr/views/hr_employee_views.xml b/addons/hr/views/hr_employee_views.xml
index ee2435bd97b..17690ce1831 100644
--- a/addons/hr/views/hr_employee_views.xml
+++ b/addons/hr/views/hr_employee_views.xml
@@ -62,23 +62,25 @@