diff --git a/src/components/layout/Navbar.vue b/src/components/layout/Navbar.vue
index 83af830..5855e77 100644
--- a/src/components/layout/Navbar.vue
+++ b/src/components/layout/Navbar.vue
@@ -36,6 +36,8 @@ const toggleTheme = () => {
const openIdentityDialog = () => {
showIdentityDialog.value = true
+ // Close mobile menu when opening dialog
+ isOpen.value = false
}
@@ -119,11 +121,11 @@ const openIdentityDialog = () => {
+ class="absolute left-0 right-0 top-14 z-40 border-b bg-background/95 backdrop-blur-sm md:hidden">
-
-
+
Profile
diff --git a/src/components/nostr/IdentityDialog.vue b/src/components/nostr/IdentityDialog.vue
index ad6b7eb..8fe7147 100644
--- a/src/components/nostr/IdentityDialog.vue
+++ b/src/components/nostr/IdentityDialog.vue
@@ -23,6 +23,7 @@ interface Emits {
const props = defineProps()
const emit = defineEmits()
+
// Form states
const importKey = ref('')
const usePassword = ref(false)
@@ -145,7 +146,7 @@ function initializeProfileForm() {