v.0.3.6 message input box update

This commit is contained in:
2026-03-09 22:34:04 -04:00
parent 0f3983dc93
commit 08d57309ae
10 changed files with 20 additions and 83 deletions

View File

@@ -237,38 +237,3 @@
}
}
/* Mention display overlay — sits over the textarea to show formatted @names */
.input-wrap {
position: relative;
}
.msg-input-mirror {
position: absolute;
top: 0; left: 0; right: 0;
pointer-events: none; /* clicks pass through to textarea */
overflow: hidden;
white-space: pre-wrap;
word-break: break-word;
color: var(--text-primary);
border-color: transparent; /* hide the border — textarea draws it */
background: transparent;
z-index: 1;
}
.msg-input-raw {
position: relative;
color: transparent; /* hide raw text — mirror shows it */
caret-color: var(--text-primary); /* but keep the cursor visible */
background: transparent;
z-index: 2;
}
/* Bold mention chips inside the mirror */
.mention-chip {
font-weight: 700;
color: var(--primary);
font-style: normal;
}
/* Placeholder is on the raw textarea; mirror has none */
.msg-input-mirror::placeholder { display: none; }