Change buttons for mobile #2780

pull/3497/head
maartenkling 2017-03-22 16:04:48 +01:00 zatwierdzone przez Janneke Janssen
rodzic 40dc7f7aa9
commit c0c0a58c44
5 zmienionych plików z 21 dodań i 1 usunięć

Wyświetl plik

@ -37,6 +37,7 @@ Changelog
* Fix: Ensure that number localisation is not applied to object IDs within admin templates (Tom Hendrikx)
* Fix: Paginating with a search present was always returning the 1st page in Internet Explorer 10 & 11 (Ralph Jacobs)
* Fix: RoutablePageMixin and wagtailforms previews now set the `request.is_preview` flag (Wietze Helmantel)
* Fix: The save and preview buttons in the page editor are now mobile-friendly (Maarten Kling)
1.9 (16.02.2017)

Wyświetl plik

@ -223,6 +223,7 @@ Contributors
* Wietze Helmantel
* Patrick Gerken
* Will Giddens
* Maarten Kling
Translators
===========

Wyświetl plik

@ -49,6 +49,7 @@ Bug fixes
* Ensure that number localisation is not applied to object IDs within admin templates (Tom Hendrikx)
* Paginating with a search present was always returning the 1st page in Internet Explorer 10 & 11 (Ralph Jacobs)
* RoutablePageMixin and wagtailforms previews now set the ``request.is_preview`` flag (Wietze Helmantel)
* The save and preview buttons in the page editor are now mobile-friendly (Maarten Kling)
Upgrade considerations

Wyświetl plik

@ -179,6 +179,16 @@ footer {
}
}
}
@media screen and (max-width: $breakpoint-mobile) {
.actions {
width: 100%;
}
.meta p {
white-space: normal;
}
}
}
::-webkit-scrollbar {

Wyświetl plik

@ -351,6 +351,13 @@
footer .preview {
button,
.button {
@media screen and (max-width: $breakpoint-mobile) {
width: 100%;
margin-top: 2px;
margin-bottom: 2px;
height: 3em;
}
background-color: lighten($color-grey-2, 10%);
border-color: lighten($color-grey-2, 10%);
@ -424,7 +431,7 @@ footer .preview {
width: 100%;
padding-left: 6.4em;
}
&:hover .object-help {
opacity: 1;
}