From 5a818896bc952fdab524e44c07a7ecbb174bdf44 Mon Sep 17 00:00:00 2001 From: Kabin Date: Fri, 17 Jan 2025 17:24:09 +0545 Subject: [PATCH] chore: update locale and styles related to layout --- packages/vue-layout/src/assets/css/layouts/basic.css | 2 +- packages/vue-user/src/components/DropdownUserMenu.vue | 3 +++ packages/vue-user/src/locales/messages.json | 6 ++++-- packages/vue-user/src/views/ChangePassword.vue | 2 +- packages/vue-user/src/views/Profile.vue | 2 ++ 5 files changed, 11 insertions(+), 4 deletions(-) diff --git a/packages/vue-layout/src/assets/css/layouts/basic.css b/packages/vue-layout/src/assets/css/layouts/basic.css index 172ece357..aee6c2be6 100644 --- a/packages/vue-layout/src/assets/css/layouts/basic.css +++ b/packages/vue-layout/src/assets/css/layouts/basic.css @@ -93,7 +93,7 @@ } @media screen and (min-width: 1200px) { - .layout.basic > :is(footer, header, main) { + .layout.basic > :is(footer, main) { padding-left: 2rem; padding-right: 2rem; } diff --git a/packages/vue-user/src/components/DropdownUserMenu.vue b/packages/vue-user/src/components/DropdownUserMenu.vue index ca6ee84d6..4c671f7a7 100644 --- a/packages/vue-user/src/components/DropdownUserMenu.vue +++ b/packages/vue-user/src/components/DropdownUserMenu.vue @@ -145,6 +145,9 @@ nav.user-menu-dropdown > ul.dropdown { } nav.user-menu-dropdown.expanded > ul.dropdown { + display: flex; + flex-direction: column; + gap: 0.25rem; height: auto; max-height: 10rem; overflow-y: hidden; diff --git a/packages/vue-user/src/locales/messages.json b/packages/vue-user/src/locales/messages.json index eb40d858b..76d189c59 100644 --- a/packages/vue-user/src/locales/messages.json +++ b/packages/vue-user/src/locales/messages.json @@ -27,7 +27,8 @@ "submit": { "label": "Change password" } - } + }, + "title": "Change password" }, "emailVerification": { "button": { @@ -251,7 +252,8 @@ "submit": { "label": "Change password" } - } + }, + "title": "Change password" }, "emailVerification": { "button": { diff --git a/packages/vue-user/src/views/ChangePassword.vue b/packages/vue-user/src/views/ChangePassword.vue index 79dc8abc1..49f87b50b 100644 --- a/packages/vue-user/src/views/ChangePassword.vue +++ b/packages/vue-user/src/views/ChangePassword.vue @@ -1,5 +1,5 @@