From 8d92ba1e41055bb4344f43d6dd5a4a599752840b Mon Sep 17 00:00:00 2001 From: Grzegorz Leoniec Date: Thu, 20 Dec 2018 12:20:41 +0100 Subject: [PATCH] small locale menu improvements --- components/LocaleSwitch.vue | 9 +++++++-- pages/login.vue | 5 ++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/components/LocaleSwitch.vue b/components/LocaleSwitch.vue index b449f97b7..8ae5b0c18 100644 --- a/components/LocaleSwitch.vue +++ b/components/LocaleSwitch.vue @@ -29,6 +29,7 @@ > {{ locale.name }} @@ -57,7 +58,7 @@ export default { Dropdown }, props: { - placement: { type: String, default: 'right-start' }, + placement: { type: String, default: 'bottom-start' }, offset: { type: [String, Number], default: '16' } }, computed: { @@ -129,6 +130,10 @@ ul.locale-menu-popover { display: block; padding: 0.2rem 0; + img { + margin-right: 8px; + } + &:hover { opacity: 1; } diff --git a/pages/login.vue b/pages/login.vue index cbc011c30..bb065f8c9 100644 --- a/pages/login.vue +++ b/pages/login.vue @@ -20,7 +20,10 @@ center > -