odoo/odoo#159463

Created by SM Engagement, Damien Abeloos (abd)
label
odoo-dev:saas-17.2-knowledge-fix-popover-zindex-abd
head
5a5d51555734356f86b80a9039c3f0895bbd9824
target
saas-17.2
merged
1 month ago by Marketing, Warnon Aurélien (awa)
forward-ports

[FIX] web: adapt z-index and dimensions of properties field types

In [1], dropdowns were updated and it impacted the properties field edition:
- z-index of the popover opened for the dropdown of a property field type was lower than the element it was opened for, resulting in part of the popover being hidden.
- img style (dimensions) was not applied as the dropdown list is now a popover (sibling instead of child), resulting in bigger images.

This commit fixes the issue by adding a class on the field type selection popover.

[1]: https://github.com/odoo/odoo/commit/7b7a2613901de20791d111a8efc8e98c226f39ad

task-3834506