Skip to content
Snippets Groups Projects
Commit 64552a61 authored by Adrien Dieudonne's avatar Adrien Dieudonne
Browse files

[FIX] hr_contract: Avoid horizontal scroll in contract form on mobile


The following warning is very long in absolute position. The following
text: "Calendar Mismatch : The employee's calendar does not match its
current contract calendar. This could lead to unexpected behaviors."
is invisible but takes a lot of width on the same line.

Now, the item is a block of 0px height and doesn't take space.
This avoids the horizontal scroll on mobile.

Note that the item is displayed at the wrong place anyway.
This will be fixed in master.

Steps to reproduce:
- Payroll / Employees / All contracts
- Change "Working Schedule" field

closes odoo/odoo#66944

Task-id: 1929043
X-original-commit: af81ac1a
Signed-off-by: default avatarAdrien Dieudonné (adr) <adr@odoo.com>
parent 7064d46a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment