odoo/odoo#200241
Created by Discuss, Alexandre Kühn (aku)
Merged
at 43c9b7f8386ef5b85237c27c49a209993778f79c
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: Contact runbot team on discord for help.
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- label
- odoo-dev:18.0-portal-chatter-avatar-object-fit-cover-aku
- head
- bfef4c610313577d602951cf3afa954b020195b2
- merged
- 8 months ago by Discuss, Alexandre Kühn (aku)
odoo/odoo | |
---|---|
18.0 | #200241 |
saas-18.1 | #200463 |
saas-18.2 | #200482 |
saas-18.3 | |
saas-18.4 | |
19.0 | |
master | #200486 |
[FIX] portal: correct avatar ratio in portal chatter
Before this commit, some messages in portal chatter may have avatar squished vertically or horizontally when the source image of avatar is not a square.
This happens because avatar are cropped to fit cover with .o_object_fit_cover
, in order to give the right visual when the avatar doesn't fit in a square. The classname was present but the SCSS file defining this rule was missing from the "portal.assets_chatter_style"
bundle, which this commit fixes.
Before
After