feat: optimized style, text to the left, minimum height

This commit is contained in:
AprilNEA 2023-03-31 03:16:12 +08:00
parent 638043fae1
commit 2da7e875d7
No known key found for this signature in database
GPG Key ID: B93E17BB436B4DE1
1 changed files with 9 additions and 4 deletions

View File

@ -169,24 +169,29 @@
transition: all ease 0.3s; transition: all ease 0.3s;
opacity: 0; opacity: 0;
} }
.chat-item-edit { .chat-item-edit {
position: absolute; position: absolute;
top: 11px; top: 12px;
right: -25px; right: -24px;
transition: all ease 0.3s; transition: all ease 0.3s;
opacity: 0; opacity: 0;
} }
.chat-item-edit-input[type=text] { .chat-item-edit-input[type=text] {
font-size: 14px; font-size: 14px;
color: black; color: black;
font-weight: bolder; font-weight: bolder;
padding: 0; padding: 0;
box-sizing: border-box; box-sizing: border-box;
width: 100%; width: auto;
height: 100%; height: 100%;
min-height: 24px;
border: 1px rgb(29,147,171) solid; border: 1px rgb(29,147,171) solid;
outline: none; outline: none;
text-align: left;
overflow: auto;
resize: none;
} }
.chat-item:hover > .chat-item-delete { .chat-item:hover > .chat-item-delete {