summaryrefslogtreecommitdiff
path: root/addons/website/static/src
diff options
context:
space:
mode:
authorBenjamin Vray <bvr@odoo.com>2020-10-21 07:38:15 +0000
committerBenjamin Vray <bvr@odoo.com>2020-10-22 06:11:18 +0000
commitcf34f10a54390d2ecd86d47de90c221d79ed5873 (patch)
tree5e8218d63188ab85041aecdd4b688338d3e73c99 /addons/website/static/src
parenta4871a7dbbc96399696dc9cd8424a4bcb7814262 (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
Diffstat (limited to 'addons/website/static/src')
-rw-r--r--addons/website/static/src/scss/website.scss3
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') {