From 80094ae413a1e33e06a86c36302660b5da3257a9 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Tue, 3 Nov 2015 18:08:55 +1030 Subject: [PATCH] Apply split dropdown styles on mobiles too Normal split dropdowns, not in the context of the app's primary control (top-right toolbar button), may be used by extensions (e.g. embed) --- framework/core/less/lib/Dropdown.less | 38 +++++++++++++-------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/framework/core/less/lib/Dropdown.less b/framework/core/less/lib/Dropdown.less index c3b2c0e21..c035df586 100755 --- a/framework/core/less/lib/Dropdown.less +++ b/framework/core/less/lib/Dropdown.less @@ -109,29 +109,27 @@ } -@media @tablet-up { - .Dropdown--split { - .Dropdown-toggle .Button-icon { +.Dropdown--split { + .Dropdown-toggle .Button-icon { + display: none; + } + .Dropdown-toggle .Button-caret { + display: inline; + margin: 0; + } + + &.itemCount1 { + .Button { + border-radius: @border-radius !important; + } + .Dropdown-toggle { display: none; } - .Dropdown-toggle .Button-caret { - display: inline; - margin: 0; - } + } - &.itemCount1 { - .Button { - border-radius: @border-radius !important; - } - .Dropdown-toggle { - display: none; - } - } - - .Dropdown-menu li:first-child { - &, + li.Dropdown-separator { - display: none; - } + .Dropdown-menu li:first-child { + &, + li.Dropdown-separator { + display: none; } } }