From 76d183876816781c0eea0c93ad1c6c0a44d3f732 Mon Sep 17 00:00:00 2001 From: Megghy Date: Tue, 20 Feb 2024 22:10:37 +0800 Subject: [PATCH] update border --- src/views/manage/QuestionDisplayCard.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/manage/QuestionDisplayCard.vue b/src/views/manage/QuestionDisplayCard.vue index d62b9da..a572356 100644 --- a/src/views/manage/QuestionDisplayCard.vue +++ b/src/views/manage/QuestionDisplayCard.vue @@ -52,7 +52,7 @@ onUnmounted(() => { backgroundColor: '#' + setting.borderColor, borderColor: setting.borderColor ? '#' + setting.borderColor : undefined, borderWidth: setting.borderWidth ? setting.borderWidth + 'px' : undefined, - borderTopWidth: 0, + borderTopWidth: setting.showUserName ? 0 : setting.borderWidth, }" :display="question ? 1 : 0" > @@ -114,6 +114,7 @@ onUnmounted(() => { .question-display-user-name { text-align: center; margin: 5px; + transition: all 0.3s ease; } .question-display-text { min-height: 50px;