Skip to content

Commit f5b4b5c

Browse files
authored
Merge pull request #359 from connorabbas/admin-role-dev
Pull master
2 parents 0985be2 + 8a3ba23 commit f5b4b5c

File tree

4 files changed

+15
-1
lines changed

4 files changed

+15
-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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ const toggleMobileUserMenu = (event) => {
8282
</div>
8383
</template>
8484
</Drawer>
85+
<ScrollTop
86+
:buttonProps="{ class: 'fixed! right-4! bottom-4! md:right-8! md:bottom-8! z-[1000]!', rounded: true, raised: true }"
87+
/>
8588
</Teleport>
8689
</ClientOnly>
8790
<div class="min-h-screen">

resources/js/layouts/app/SidebarLayout.vue

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

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)