Skip to content

Commit f173613

Browse files
committed
Merge branch 'master' of github.com:connorabbas/laravel-inertia-primevue into admin-role-dev
2 parents 8a1d8b2 + 8ad8b9d commit f173613

File tree

4 files changed

+19
-1
lines changed

4 files changed

+19
-1
lines changed

resources/js/components/DeleteUserModal.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const deleteUser = () => {
3030
<template>
3131
<Dialog
3232
v-model:visible="modalOpen"
33-
class="m-4 sm:m-0 w-[40rem]"
33+
class="w-[40rem]"
3434
position="center"
3535
header="Are you sure you want to delete your account?"
3636
:draggable="false"

resources/js/layouts/app/HeaderLayout.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ const toggleMobileUserMenu = (event) => {
8282
</div>
8383
</template>
8484
</Drawer>
85+
<ScrollTop :buttonProps="{
86+
class: 'fixed! right-4! bottom-4! md:right-8! md:bottom-8! z-[1000]!',
87+
rounded: true,
88+
raised: true,
89+
}" />
8590
</Teleport>
8691
</ClientOnly>
8792
<div class="min-h-screen">

resources/js/layouts/app/SidebarLayout.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ const toggleMobileUserMenu = (event) => {
8080
</div>
8181
</template>
8282
</Drawer>
83+
<ScrollTop :buttonProps="{
84+
class: 'fixed! right-4! bottom-4! md:right-8! md:bottom-8! z-[1000]!',
85+
rounded: true,
86+
raised: true,
87+
}" />
8388
</Teleport>
8489
</ClientOnly>
8590

resources/js/theme/global-pt.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
* https://primevue.org/passthrough/#global
44
*/
55
export default {
6+
dialog: {
7+
root: {
8+
class: 'm-4 sm:m-0'
9+
},
10+
mask: {
11+
class: 'backdrop-blur-xs'
12+
},
13+
},
614
toast: {
715
root: {
816
// Full width/centered on mobile, bottom right desktop

0 commit comments

Comments
 (0)