[FIX] website, portal: fix language selector inline

This commit align vertically the copyright text and the inline
language switcher items. This commit also add a padding on
list-inline-item in the language selector. Because before this commit,
there was no space between lines if the list was to be displayed on
multiple lines.

Part of #59581

task-2312878

closes odoo/odoo#60527

X-original-commit: a8c4ca8a942d94557db5b95f42344fee71faf6e2
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Benjamin Vray
2020-10-22 13:06:15 +00:00
committed by qsm-odoo
parent 97f33eca52
commit 8ca7aa5d3c
2 changed files with 14 additions and 4 deletions
+3 -1
View File
@@ -544,7 +544,9 @@ form label {
// Copyright
.o_footer_copyright {
.o_footer_copyright_name {
vertical-align: middle;
}
.js_language_selector {
display: inline-block;
}
+11 -3
View File
@@ -1235,15 +1235,23 @@ header {
}
// Language selector
.js_language_selector .dropdown-menu {
min-width: 0;
.js_language_selector {
.dropdown-menu {
min-width: 0;
}
a.list-inline-item {
padding: 3px 0;
> * {
vertical-align: middle;
}
}
}
.o_lang_flag {
width: 1.5em;
height: 1.5em;
margin-right: 0.2em;
border-radius: $rounded-pill;
vertical-align: top;
}
// Footer scrolltop button