fix: remark style fix

This commit is contained in:
pipipi-pikachu 2023-10-15 15:51:21 +08:00
parent 18894e82bd
commit 4030bd4fe1

View File

@ -49,7 +49,7 @@ const resize = (e: MouseEvent) => {
let newHeight = -moveY + originHeight let newHeight = -moveY + originHeight
if (newHeight < 40) newHeight = 40 if (newHeight < 40) newHeight = 40
if (newHeight > 120) newHeight = 120 if (newHeight > 360) newHeight = 360
emit('update:height', newHeight) emit('update:height', newHeight)
} }
@ -66,8 +66,6 @@ const resize = (e: MouseEvent) => {
.remark { .remark {
position: relative; position: relative;
border-top: 1px solid $borderColor; border-top: 1px solid $borderColor;
background-color: $lightGray;
line-height: 1.5;
textarea { textarea {
width: 100%; width: 100%;
@ -79,6 +77,8 @@ const resize = (e: MouseEvent) => {
padding: 8px; padding: 8px;
font-size: 12px; font-size: 12px;
background-color: transparent; background-color: transparent;
box-sizing: border-box;
line-height: 1.5;
@include absolute-0(); @include absolute-0();
} }