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)
This commit is contained in:
Toby Zerner 2015-11-03 18:08:55 +10:30
parent eef5101238
commit 80094ae413

View File

@ -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;
}
}
}