Save workspace changes
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
@extends('layouts.nova')
|
||||
|
||||
@push('head')
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}" />
|
||||
|
||||
<script>
|
||||
window.SKINBASE_FLAGS = Object.assign({}, window.SKINBASE_FLAGS || {}, {
|
||||
uploads_v2: @json((bool) config('features.uploads_v2', false)),
|
||||
uploads: Object.assign({}, (window.SKINBASE_FLAGS && window.SKINBASE_FLAGS.uploads) || {}, {
|
||||
v2: @json((bool) config('features.uploads_v2', false)),
|
||||
}),
|
||||
});
|
||||
</script>
|
||||
|
||||
@vite(['resources/js/entry-topbar.jsx','resources/js/upload.jsx'])
|
||||
<style>
|
||||
/* Upload page spacing: extra top padding and bottom space so sticky action bar won't overlap content */
|
||||
body.page-upload main {
|
||||
padding-top: 6rem; /* slightly larger top padding on upload */
|
||||
padding-bottom: 6.5rem; /* room for sticky action bar */
|
||||
}
|
||||
|
||||
/* Ensure the footer is visually separated on short pages */
|
||||
body.page-upload footer {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
// Mark document to apply upload-specific spacing
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
document.body.classList.add('page-upload')
|
||||
})
|
||||
</script>
|
||||
@endpush
|
||||
|
||||
@section('content')
|
||||
@inertia
|
||||
@endsection
|
||||
Reference in New Issue
Block a user