From c0629cd7570412cef333365ce3203918f2b2cb16 Mon Sep 17 00:00:00 2001 From: Siddarth Gajjar Date: Fri, 10 Aug 2018 10:58:53 +0530 Subject: [PATCH] [FIX] web: BS4, restore statusbar "more" dropdown --- addons/web/static/src/scss/form_view.scss | 16 ++-------------- addons/web/static/src/xml/base.xml | 12 +++++++----- 2 files changed, 9 insertions(+), 19 deletions(-) diff --git a/addons/web/static/src/scss/form_view.scss b/addons/web/static/src/scss/form_view.scss index 367d9854563..38b038ddca1 100644 --- a/addons/web/static/src/scss/form_view.scss +++ b/addons/web/static/src/scss/form_view.scss @@ -175,7 +175,6 @@ flex-flow: row-reverse wrap-reverse; align-self: stretch; align-items: stretch; - overflow-x: hidden; // to prevent horizontal scroll due to last arrow > .o_arrow_button { min-height: $o-statusbar-height; @@ -190,6 +189,7 @@ &:first-child { padding-right: $o-horizontal-padding; // Compensate container padding + overflow-x: hidden; // to prevent horizontal scroll due to last arrow } &:last-child { padding-left: $o-horizontal-padding - 1; @@ -207,7 +207,7 @@ border-left: 1px solid gray('300'); } - &:before, &:after { + &:before, &:not(:first-child):after { content: " "; display: block; @include o-position-absolute(0, -$o-statusbar-arrow-width + 1); @@ -246,20 +246,8 @@ border-left-color: gray('200'); } } - - .caret { - margin-top: -2px; - } } - .o-status-more { - @include o-position-absolute(100%, 0); - min-width: 100px; - > li > button { - width: 100%; - text-align: left; - } - } } // Touch device mode diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 3651bd25d4e..5f6f8253bdf 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -886,9 +886,11 @@ -