feat: Enhance Navbar and IdentityDialog components with improved functionality and logging
- Update Navbar to close the mobile menu when opening the identity dialog. - Add debug logging to IdentityDialog to track changes in the dialog's open state. - Adjust styling for mobile menu and dialog content for better responsiveness.
This commit is contained in:
parent
236a8a59b9
commit
5175c20d82
2 changed files with 7 additions and 4 deletions
|
|
@ -23,6 +23,7 @@ interface Emits {
|
|||
const props = defineProps<Props>()
|
||||
const emit = defineEmits<Emits>()
|
||||
|
||||
|
||||
// Form states
|
||||
const importKey = ref('')
|
||||
const usePassword = ref(false)
|
||||
|
|
@ -145,7 +146,7 @@ function initializeProfileForm() {
|
|||
|
||||
<template>
|
||||
<Dialog :open="isOpen" @update:open="handleClose">
|
||||
<DialogContent class="sm:max-w-[600px] max-h-[80vh] overflow-y-auto">
|
||||
<DialogContent class="w-[95vw] sm:max-w-[600px] max-h-[90vh] overflow-y-auto p-4 sm:p-6">
|
||||
<DialogHeader>
|
||||
<DialogTitle class="flex items-center gap-2">
|
||||
<Key class="w-5 h-5" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue