diff --git a/scripts/mirror.js b/scripts/mirror.js index 43eeb76..b02191e 100644 --- a/scripts/mirror.js +++ b/scripts/mirror.js @@ -180,14 +180,16 @@ async function main() { } .q-chat .c-in { display: block; width: 100%; - border: 1px solid #e0e0e0; border-radius: 4px; - background: #fff; color: #333; + border: none; background: transparent; + color: #f2f2f2; font-size: 14px; line-height: 1.5; - padding: 8px 12px; resize: none; - height: 34px; font-family: inherit; + padding: 4px 0; resize: none; + height: 28px; font-family: inherit; outline: none; box-sizing: border-box; + overflow: hidden; white-space: nowrap; + caret-color: #c4c4c4; } - .q-chat .c-in::placeholder { color: #bbb; } + .q-chat .c-in::placeholder { color: transparent; } .q-chat .c-out { margin-top: 6px; padding: 6px 12px; font-size: 12px; color: #888; line-height: 1.5;