[FIX] partner_autocomplete: avatar widget not clickable on mobile
Previously, in company form view, avatar was not clickable due to a
`block` div that was overlapping the avatar widget and preventing
clicking on it.
This commit fixes the issue by preventing the overlap and thus making
the image widget on company form clickable.
Note that another fix would be to remove `partner_gid` from the company
form view (it's already the case in 14.0).
In this case "oe_title" is directly followed by .o_form_view .oe_avatar
and a padding-right: 100px is applied:
.o_form_view .oe_avatar + .oe_title {
padding-right: 100px;
}
However, considering stable version, changing fields position
should be avoided.
Task Id: 2231950
closes odoo/odoo#62634
Pr: #53798
X-original-commit: 6e6847767b1c2ef741773a1a8a63cccbcf31e798
Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
Co-authored-by: D J <dja@odoo.com>
This commit is contained in:
committed by
Adrien Dieudonne
co-authored by
D J
parent
8ee21a9cd0
commit
0da98620ca
@@ -1,6 +1,4 @@
|
||||
.o_field_partner_autocomplete.dropdown {
|
||||
display: block;
|
||||
|
||||
> .o_partner_autocomplete_dropdown .dropdown-item {
|
||||
min-width: 300px;
|
||||
padding: 4px 8px;
|
||||
|
||||
Reference in New Issue
Block a user