fix no resizing on instructions textarea
This commit is contained in:
parent
7c2e37c972
commit
fbfb392aeb
|
@ -86,7 +86,7 @@ export class AssistantEditModal extends Modal {
|
||||||
addInstructionsSetting(contentEl: HTMLElement) {
|
addInstructionsSetting(contentEl: HTMLElement) {
|
||||||
new Setting(contentEl)
|
new Setting(contentEl)
|
||||||
.setName('Instructions (required)')
|
.setName('Instructions (required)')
|
||||||
.setDesc('The instructions you want the assistant to follow (free by courtesy of OpenAI until 01/12/2024')
|
.setDesc('The instructions you want the assistant to follow')
|
||||||
.setClass('form-setting-textarea')
|
.setClass('form-setting-textarea')
|
||||||
.addTextArea((text) => {
|
.addTextArea((text) => {
|
||||||
text.setPlaceholder('Enter instructions...')
|
text.setPlaceholder('Enter instructions...')
|
||||||
|
|
|
@ -260,6 +260,7 @@
|
||||||
|
|
||||||
.form-setting-textarea textarea {
|
.form-setting-textarea textarea {
|
||||||
resize: vertical;
|
resize: vertical;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-footer {
|
.modal-footer {
|
||||||
|
|
Loading…
Reference in New Issue