}
@include smaller-than($m) {
- .grid.third {
+ .grid.third:not(.no-break) {
grid-template-columns: 1fr 1fr;
}
.grid.half:not(.no-break), .grid.left-focus:not(.no-break), .grid.right-focus:not(.no-break) {
}
@include smaller-than($s) {
- .grid.third {
+ .grid.third:not(.no-break) {
grid-template-columns: 1fr;
}
}
}
}
-@include smaller-than($m) {
+@include smaller-than($s) {
.page-edit-toolbar {
overflow-x: scroll;
overflow-y: visible;
- z-index: 12;
}
.page-edit-toolbar .grid.third {
display: block;
}
}
-@include smaller-than($m) {
- .page-edit-toolbar #save-button {
- position: fixed;
- z-index: 30;
- border-radius: 50%;
- width: 56px;
- height: 56px;
- font-size: 24px;
- right: $-m;
- bottom: $-s;
- box-shadow: $bs-hover;
- background-color: currentColor;
- svg {
- fill: #FFF;
- }
- span {
- display: none;
- }
+.page-save-mobile-button {
+ position: fixed;
+ z-index: 30;
+ border-radius: 50%;
+ width: 56px;
+ height: 56px;
+ font-size: 24px;
+ right: $-m;
+ bottom: $-s;
+ box-shadow: $bs-hover;
+ background-color: currentColor;
+ text-align: center;
+ svg {
+ fill: #FFF;
+ margin-right: 0;
}
}
{{--Header Bar--}}
<div class="primary-background-light toolbar page-edit-toolbar">
- <div class="grid third v-center">
+ <div class="grid third no-break v-center">
<div class="action-buttons text-left px-m py-xs">
<a href="{{ back()->getTargetUrl() }}" class="text-button text-primary">@icon('back')<span class="hide-under-l">{{ trans('common.back') }}</span></a>
<span>{{-- Prevents button jumping on menu show --}}</span>
</div>
- <button type="submit" id="save-button" class="float-left text-primary text-button text-pos-hover">@icon('save')<span>{{ trans('entities.pages_save') }}</span></button>
+ <button type="submit" id="save-button" class="float-left text-primary text-button text-pos-hover hide-under-m">@icon('save')<span>{{ trans('entities.pages_save') }}</span></button>
</div>
</div>
</div>
@endif
</div>
+
+ <button type="submit" id="save-button-mobile" title="{{ trans('entities.pages_save') }}" class="text-primary text-button hide-over-m page-save-mobile-button">@icon('save')</button>
</div>
\ No newline at end of file