From 4030bd4fe12a26eeac876baa52798edb88f96b84 Mon Sep 17 00:00:00 2001 From: pipipi-pikachu Date: Sun, 15 Oct 2023 15:51:21 +0800 Subject: [PATCH] fix: remark style fix --- src/views/Editor/Remark/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/Editor/Remark/index.vue b/src/views/Editor/Remark/index.vue index eb0bf3ee..72dd4e4a 100644 --- a/src/views/Editor/Remark/index.vue +++ b/src/views/Editor/Remark/index.vue @@ -49,7 +49,7 @@ const resize = (e: MouseEvent) => { let newHeight = -moveY + originHeight if (newHeight < 40) newHeight = 40 - if (newHeight > 120) newHeight = 120 + if (newHeight > 360) newHeight = 360 emit('update:height', newHeight) } @@ -66,8 +66,6 @@ const resize = (e: MouseEvent) => { .remark { position: relative; border-top: 1px solid $borderColor; - background-color: $lightGray; - line-height: 1.5; textarea { width: 100%; @@ -79,6 +77,8 @@ const resize = (e: MouseEvent) => { padding: 8px; font-size: 12px; background-color: transparent; + box-sizing: border-box; + line-height: 1.5; @include absolute-0(); }