diff --git a/frontend/src/lang/en.js b/frontend/src/lang/en.js index 2c9e49c281..b2749a9168 100644 --- a/frontend/src/lang/en.js +++ b/frontend/src/lang/en.js @@ -985,7 +985,8 @@ export default { loginLogo: 'Login page header logo', loginImage: 'Picture on the right side of the login page', loginTitle: 'Login page title', - title: 'System name' + title: 'System name', + advice_size: 'Advice picture size' }, auth: { authConfig: 'Auth Config', diff --git a/frontend/src/lang/tw.js b/frontend/src/lang/tw.js index cede5bd3a4..f65bcc240f 100644 --- a/frontend/src/lang/tw.js +++ b/frontend/src/lang/tw.js @@ -985,7 +985,8 @@ export default { loginLogo: '登陸頁面頭部 Logo', loginImage: '登陸頁面右側圖片', loginTitle: '登陸頁面標題', - title: '系統名稱' + title: '系統名稱', + advice_size: '建議圖片大小' }, auth: { authConfig: '權限配置', diff --git a/frontend/src/lang/zh.js b/frontend/src/lang/zh.js index 37f3874bdf..04b6c9c927 100644 --- a/frontend/src/lang/zh.js +++ b/frontend/src/lang/zh.js @@ -985,7 +985,8 @@ export default { loginLogo: '登录页面头部logo', loginImage: '登录页面右侧图片', loginTitle: '登录页面标题', - title: '系统名称' + title: '系统名称', + advice_size: '建议图片大小' }, auth: { authConfig: '权限配置', diff --git a/frontend/src/styles/topbar.scss b/frontend/src/styles/topbar.scss index c52d51d01d..2403e9733b 100644 --- a/frontend/src/styles/topbar.scss +++ b/frontend/src/styles/topbar.scss @@ -19,6 +19,10 @@ // color: rgb(191, 203, 217); color: rgba(255,255,255,0.87); float: left; + img{ + width: auto; + max-height: 45px; + } } .el-menu { float: left; diff --git a/frontend/src/views/login/index.vue b/frontend/src/views/login/index.vue index cbf50f8a8a..02a47191ce 100644 --- a/frontend/src/views/login/index.vue +++ b/frontend/src/views/login/index.vue @@ -180,9 +180,13 @@ export default { margin-top: 20px; } img{ - width: 240px; + /*width: 240px;*/ + width: auto; + max-height: 60px; @media only screen and (max-width: 1280px) { - width: 200px; + /*width: 200px;*/ + width: auto; + max-height: 50px; } } }