[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:
@@ -544,7 +544,9 @@ form label {
|
||||
|
||||
// Copyright
|
||||
.o_footer_copyright {
|
||||
|
||||
.o_footer_copyright_name {
|
||||
vertical-align: middle;
|
||||
}
|
||||
.js_language_selector {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user