From 13f4025c29032be7488e32a14913ba78e7c3b63a Mon Sep 17 00:00:00 2001 From: RainSun Date: Wed, 4 Mar 2020 10:34:03 +0800 Subject: [PATCH] Fixed display of homepage split line in dark mode --- src/utils/language.js | 16 ++++++++++++++++ src/views/Home/Home.vue | 12 ++++++++++-- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/src/utils/language.js b/src/utils/language.js index a9b8dd7..339586b 100644 --- a/src/utils/language.js +++ b/src/utils/language.js @@ -256,6 +256,14 @@ export function lang() { CHS:{ title: '更新日志', timeline: [ + { + label: '修复黑暗模式下主页分割线显示问题', + tag:'bug修复', + content: [ + '之前黑暗模式下主页密码分割线过亮,造成强烈的视觉撕裂感,现已修复', + '2020-03-04' + ] + }, { label: '新增控制台vConsole', tag:'功能更新', @@ -309,6 +317,14 @@ export function lang() { EN:{ title: 'Update Log', timeline: [ + { + label: 'Fixed display of homepage split line in dark mode', + tag:'Bug fix', + content: [ + 'The homepage password dividing line was too bright in the dark mode, causing a strong visual tearing.', + '2020-03-04' + ] + }, { label: 'Add vConsole', tag:'Feature update', diff --git a/src/views/Home/Home.vue b/src/views/Home/Home.vue index df1cf84..b913a31 100644 --- a/src/views/Home/Home.vue +++ b/src/views/Home/Home.vue @@ -89,6 +89,8 @@

{{ code.title }}

{{ code.user_name }}

+ +
@@ -464,8 +466,14 @@ export default { } } .code-card { - padding: 0.3rem 0; - border-bottom: 1px #eee solid; + p:first-of-type{ + margin-top: .3rem; + } + p:last-of-type { + margin-bottom: .3rem; + } + // padding: 0.3rem 0; + // border-bottom: 1px #eee solid; } .md-toolbar { position: fixed;