[FIX] website: keep language selector flag size ratio
There was an issue before this commit where some flags (basically all the ones which are not tribands) would appear "broken". This is the case for the China one where the symbol on the flag would be squashed. Using `object-fit` css property will keep the original flag ratio. task-2929438 closes odoo/odoo#119683 X-original-commit: 5d6559218926a4c2f055bd55f113c7bfc83cd5b8 Signed-off-by: Romain Derie (rde) <rde@odoo.com>
This commit is contained in:
@@ -1390,6 +1390,7 @@ header {
|
||||
height: 1em;
|
||||
margin-right: 0.2em;
|
||||
border-radius: $border-radius-pill;
|
||||
object-fit: cover;
|
||||
}
|
||||
a.js_change_lang:hover, a.o_add_language:hover {
|
||||
text-decoration: none;
|
||||
|
||||
Reference in New Issue
Block a user