tech-envision
Add React frontend for chat API
f3074ed
raw
history blame
542 Bytes
.container {
max-width: 800px;
margin: 0 auto;
padding: 1rem;
font-family: Arial, Helvetica, sans-serif;
}
.controls {
margin-bottom: 1rem;
}
.controls label {
margin-right: 1rem;
}
.chat-box {
border: 1px solid #ccc;
min-height: 300px;
padding: 0.5rem;
margin-bottom: 1rem;
overflow-y: auto;
}
.msg {
margin-bottom: 0.5rem;
}
.msg.assistant {
color: blue;
}
.msg.user {
color: green;
}
.input-area {
display: flex;
gap: 0.5rem;
}
textarea {
flex-grow: 1;
}
.error {
color: red;
margin-bottom: 0.5rem;
}