mirror of
https://github.com/flarum/framework.git
synced 2025-04-25 14:14:03 +08:00
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:
parent
96b85f1330
commit
3d3be6983a
@ -109,29 +109,27 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@media @tablet-up {
|
.Dropdown--split {
|
||||||
.Dropdown--split {
|
.Dropdown-toggle .Button-icon {
|
||||||
.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;
|
display: none;
|
||||||
}
|
}
|
||||||
.Dropdown-toggle .Button-caret {
|
}
|
||||||
display: inline;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.itemCount1 {
|
.Dropdown-menu li:first-child {
|
||||||
.Button {
|
&, + li.Dropdown-separator {
|
||||||
border-radius: @border-radius !important;
|
display: none;
|
||||||
}
|
|
||||||
.Dropdown-toggle {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.Dropdown-menu li:first-child {
|
|
||||||
&, + li.Dropdown-separator {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user