Skip to content

Commit 90e94c2

Browse files
authored
[6.x] Improve scrolling cut-off piont on the page editor (#12770)
1 parent ba56681 commit 90e94c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/js/components/structures/PageEditor.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<stack narrow name="page-tree-linker" :before-close="shouldClose" @closed="$emit('closed')" v-slot="{ close }">
33
<div class="flex h-full flex-col bg-gray-100 dark:bg-dark-700">
44
<header
5-
class="mb-4 flex items-center justify-between border-b bg-white py-2 text-lg font-medium shadow-md dark:border-dark-950 dark:bg-dark-600 ltr:pl-6 ltr:pr-3 rtl:pl-3 rtl:pr-6"
5+
class="flex items-center justify-between border-b bg-white py-2 text-lg font-medium shadow-md dark:border-dark-950 dark:bg-dark-600 ltr:pl-6 ltr:pr-3 rtl:pl-3 rtl:pr-6"
66
>
77
<Heading size="lg">{{ headerText }}</Heading>
88
<Button icon="x" variant="ghost" @click="close" />
@@ -16,7 +16,7 @@
1616
</div>
1717
</div>
1818

19-
<div v-if="!loading" class="flex-1 overflow-auto px-1">
19+
<div v-if="!loading" class="flex-1 overflow-auto px-1 pt-4">
2020
<div
2121
v-if="saving"
2222
class="absolute inset-0 z-10 flex items-center justify-center bg-white bg-opacity-75 dark:bg-dark-500"

0 commit comments

Comments
 (0)