mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-13 19:40:59 +00:00
Revert "Fix preview button dropdown styling (#3785)"
This reverts commit a60aa1bfe2.
This commit is contained in:
parent
921cee4707
commit
4795421f4d
3 changed files with 5 additions and 12 deletions
|
|
@ -138,12 +138,8 @@ footer {
|
|||
}
|
||||
|
||||
.actions {
|
||||
width: 250px;
|
||||
margin-right: $grid-gutter-width / 2;
|
||||
width: auto;
|
||||
|
||||
.dropdown {
|
||||
width: 250px;
|
||||
}
|
||||
}
|
||||
|
||||
.meta {
|
||||
|
|
@ -168,12 +164,9 @@ footer {
|
|||
}
|
||||
|
||||
@media screen and (max-width: $breakpoint-mobile) {
|
||||
.actions {
|
||||
.actions,
|
||||
.preview {
|
||||
width: 100%;
|
||||
|
||||
.dropdown {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.meta p {
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
</div>
|
||||
</li>
|
||||
|
||||
<li class="actions preview">
|
||||
<li class="preview">
|
||||
{% trans 'Preview' as preview_label %}
|
||||
{% if preview_modes|length > 1 %}
|
||||
<div class="dropdown dropup dropdown-button match-width">
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@
|
|||
</div>
|
||||
</li>
|
||||
|
||||
<li class="actions preview">
|
||||
<li class="preview">
|
||||
{% trans 'Preview' as preview_label %}
|
||||
{% if preview_modes|length > 1 %}
|
||||
<div class="dropdown dropup dropdown-button match-width">
|
||||
|
|
|
|||
Loading…
Reference in a new issue