feat: fixed-height near-white input, terse-answer system prompt

This commit is contained in:
aedes
2026-04-21 14:32:03 +03:00
parent b7cdaeeb88
commit 321390ea0a
2 changed files with 8 additions and 8 deletions

View File

@@ -72,16 +72,21 @@
width: 100%;
border: none;
background: transparent;
color: #555;
color: #f2f2f2;
font-size: 14px;
outline: none;
resize: none;
height: 28px;
max-height: 28px;
min-height: 28px;
line-height: 1.5;
padding: 4px 0;
overflow: hidden;
white-space: nowrap;
font-family: proxima_nova_rgregular, Arial, sans-serif;
caret-color: #c4c4c4;
}
#chat-input::placeholder { color: #d0d0d0; }
#chat-input::placeholder { color: transparent; }
/* Slight override to keep well-lg radius 0 like real portal */
.well-lg { border-radius: 0; }
@@ -356,11 +361,6 @@
}, 50);
});
// Auto-grow textarea
inputEl.addEventListener('input', () => {
inputEl.style.height = 'auto';
inputEl.style.height = inputEl.scrollHeight + 'px';
});
</script>
</body>
</html>