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

Re-fixes #3784, without breaking non-dropdown save buttons as a side effect (#3836).
This commit is contained in:
Matt Westcott 2017-09-11 19:08:39 +01:00
parent a1b395d851
commit 7cf38f115c
3 changed files with 8 additions and 1 deletions

View file

@ -7,6 +7,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)

View file

@ -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)

View file

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