From 2dcbceea5ee44e17a994e886e55f9fc41fc8b1dd Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Mon, 24 Apr 2023 18:04:05 +0800 Subject: [PATCH] fix: distance between the login form and the top of the page (#3821) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What type of PR is this? /kind bug /area console /milestone 2.5.0 #### What this PR does / why we need it: 修复登录表单与顶部间距异常的问题,并解决在 https://github.com/halo-dev/halo/pull/3756 中提到的在低分辨率屏幕下,语言选择和表单元素重叠的问题。 #### Which issue(s) this PR fixes: Fixes https://github.com/halo-dev/halo/issues/3806 #### Special notes for your reviewer: 测试方式: 1. 检查登录页面的表单是否和以前的版本一致即可。 2. 可以尝试调整浏览器的缩放大小,检查是否有样式问题。 #### Does this PR introduce a user-facing change? ```release-note None ``` --- console/src/modules/system/users/Binding.vue | 4 +--- console/src/modules/system/users/Login.vue | 6 ++---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/console/src/modules/system/users/Binding.vue b/console/src/modules/system/users/Binding.vue index e22760369..cffe4f95e 100644 --- a/console/src/modules/system/users/Binding.vue +++ b/console/src/modules/system/users/Binding.vue @@ -51,9 +51,7 @@ function handleChangeType() { const isLoginType = computed(() => type.value !== "signup");