Set preview dropdown button to 250px (desktop) / 100% (mobile)

Re-fixes #3784, without breaking non-dropdown save buttons as a side effect (#3836).
pull/3848/merge
Matt Westcott 2017-09-11 19:08:39 +01:00
rodzic 4795421f4d
commit 2a9ec51995
3 zmienionych plików z 8 dodań i 1 usunięć

Wyświetl plik

@ -22,6 +22,7 @@ Changelog
* Fix: Migration for addition of `Page.draft_title` field is now reversible (Venelin Stoykov)
* Fix: Fixed failure on application startup when `ManifestStaticFilesStorage` is in use and `collectstatic` has not yet been run (Matt Westcott)
* Fix: Fixed handling of Vimeo and other oEmbed providers with a format parameter in the endpoint URL (Mitchel Cabuloy)
* Fix: Fixed regression in rendering save button in wagtail.contrib.settings edit view (Matt Westcott)
1.12.1 (30.08.2017)

Wyświetl plik

@ -16,3 +16,4 @@ Bug fixes
* Migration for addition of ``Page.draft_title`` field is now reversible (Venelin Stoykov)
* Fixed failure on application startup when ``ManifestStaticFilesStorage`` is in use and ``collectstatic`` has not yet been run (Matt Westcott)
* Fixed handling of Vimeo and other oEmbed providers with a format parameter in the endpoint URL (Mitchel Cabuloy)
* Fixed regression in rendering save button in wagtail.contrib.settings edit view (Matt Westcott)

Wyświetl plik

@ -142,6 +142,10 @@ footer {
margin-right: $grid-gutter-width / 2;
}
.preview .dropdown {
width: 250px;
}
.meta {
float: right;
text-align: right;
@ -165,7 +169,8 @@ footer {
@media screen and (max-width: $breakpoint-mobile) {
.actions,
.preview {
.preview,
.preview .dropdown {
width: 100%;
}