logancyang_obsidian-copilot/styles.css
2023-04-03 21:37:09 -07:00

68 lines
No EOL
1.2 KiB
CSS

/*
This CSS file will be included with your plugin, and
available in the app when your plugin is enabled.
If your plugin does not need CSS, delete this file.
*/
.chat-container {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
overflow: hidden; /* Fix overflow and can't scroll up */
}
.bottom-container {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: flex-end;
width: 100%;
flex: 0 0 auto;
box-sizing: border-box;
}
.chat-icons-container {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
padding: 8px 8px 0;
}
.chat-input-container {
display: flex;
padding: 8px;
width: 100%;
box-sizing: border-box;
}
.chat-input-container textarea {
flex-grow: 1;
margin-right: 8px;
margin-bottom: 32px;
max-height: 200px;
resize: vertical;
overflow: auto;
width: 100%;
min-height: 50px; /* Add this line */
}
.chat-messages {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: flex-start;
flex: 1;
overflow-y: auto;
padding: 8px;
width: 100%;
word-wrap: break-word;
overflow-wrap: break-word;
font-size: 14px;
box-sizing: border-box;
scroll-behavior: smooth;
}