mirror of
https://github.com/flarum/core.git
synced 2025-07-20 08:11:27 +02: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:
@@ -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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user