Friday, June 21, 2024
1 change · master
Resolved issues and error corrections
This fix prevents invisible placeholder cards from appearing as white blocks in kanban views. It improves the visual consistency of Documents and Quality Control dashboards without changing business workflows.
Original PR description
This commit aims to fix an issue about the `kanban_ghost` elements within PLM having a visible white background. Commit[1] introduced a simplified version of our kanban archs. Within this commit, a white background is applied on `.o_kanban_record:not(.o_legacy_kanban_record)`, meaning this also applies to `o_kanban_ghost` elements. To avoid this, a `max-height` was set to `O` on `o_kanban_ghost` elements to prevent them from being visible. While this handle most of the scenario, it appears that there is a specific rule within the `quality_control` module that sets a `min-height` to `o_kanban_record`, making them visible due to the white background. To handle this issue, we set the `min-height` property only to other elements that are not `o_kanban_ghost`. Commit[1]: 8995473 task-3996625