File tree Expand file tree Collapse file tree 5 files changed +32
-1
lines changed Expand file tree Collapse file tree 5 files changed +32
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import PageTitleSection from '@/components/PageTitleSection.vue';
1616
1717import { useColorMode } from '@vueuse/core' ;
1818import themePreset from '@/theme/noir-preset' ;
19+ import globalPt from './theme/global-pt' ;
1920
2021// Site light/dark mode
2122const colorMode = useColorMode ( { emitAuto : true } ) ;
@@ -37,6 +38,7 @@ app.provide('colorMode', colorMode)
3738 } ,
3839 } ,
3940 } ,
41+ pt : globalPt ,
4042 } )
4143 . use ( ToastService )
4244 . component ( 'Container' , Container )
Original file line number Diff line number Diff line change @@ -49,9 +49,9 @@ const deleteAccount = () => {
4949<template >
5050 <Dialog
5151 v-model:visible =" modalOpen"
52+ class =" w-[40rem]"
5253 position =" center"
5354 header =" Are you sure you want to delete your account?"
54- :style =" { width: '40rem' }"
5555 :draggable =" false"
5656 dismissableMask
5757 modal
Original file line number Diff line number Diff line change @@ -72,6 +72,9 @@ const toggleMobileUserMenu = (event) => {
7272 </div >
7373 </template >
7474 </Drawer >
75+ <ScrollTop
76+ :buttonProps =" { class: 'fixed! right-4! bottom-4! md:right-8! md:bottom-8! z-[1000]!', rounded: true, raised: true }"
77+ />
7578 </Teleport >
7679 <div class =" min-h-screen" >
7780 <!-- Primary Navigation Menu -->
Original file line number Diff line number Diff line change @@ -70,6 +70,9 @@ const toggleMobileUserMenu = (event) => {
7070 </div >
7171 </template >
7272 </Drawer >
73+ <ScrollTop
74+ :buttonProps =" { class: 'fixed! right-4! bottom-4! md:right-8! md:bottom-8! z-[1000]!', rounded: true, raised: true }"
75+ />
7376 </Teleport >
7477
7578 <!-- Mobile Header -->
Original file line number Diff line number Diff line change 1+ /**
2+ * Global pass through styling for components
3+ * https://primevue.org/passthrough/#global
4+ */
5+ export default {
6+ dialog : {
7+ root : {
8+ class : 'm-4 sm:m-0'
9+ } ,
10+ mask : {
11+ class : 'backdrop-blur-xs'
12+ } ,
13+ } ,
14+ toast : {
15+ root : {
16+ // Full width/centered on mobile, bottom right desktop
17+ class : 'fixed! left-4! right-4! bottom-4! w-auto! md:right-8! md:bottom-8! sm:w-[25rem]! sm:not-fixed! sm:left-auto! sm:ml-auto!'
18+ } ,
19+ message : {
20+ class : 'shadow-lg mb-0 mt-4'
21+ } ,
22+ } ,
23+ } ;
You can’t perform that action at this time.
0 commit comments