diff options
| author | Benjamin Vray <bvr@odoo.com> | 2020-10-21 07:38:15 +0000 |
|---|---|---|
| committer | Benjamin Vray <bvr@odoo.com> | 2020-10-22 06:11:18 +0000 |
| commit | cf34f10a54390d2ecd86d47de90c221d79ed5873 (patch) | |
| tree | 5e8218d63188ab85041aecdd4b688338d3e73c99 | |
| parent | a4871a7dbbc96399696dc9cd8424a4bcb7814262 (diff) | |
[FIX] website: hide the add language separator if it is the last item
Before this commit, the add language separator was visible at the end
of the inline language switcher even if the add language link was not
displayed.
Part of #59581
task-2312878
| -rw-r--r-- | addons/website/static/src/scss/website.scss | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/website/static/src/scss/website.scss b/addons/website/static/src/scss/website.scss index ce8524014d7..ab35a17e4fd 100644 --- a/addons/website/static/src/scss/website.scss +++ b/addons/website/static/src/scss/website.scss @@ -1240,6 +1240,9 @@ header { border-radius: $rounded-pill; vertical-align: top; } +span.list-inline-item.o_add_language:last-child { + display: none !important; // Hide the separator if it is the last list item +} // Footer scrolltop button @if o-website-value('footer-scrolltop') { |
