mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
AI config panel cleanup/styling
- editable inputs styled - moved API model selectors from AIConfig to API Panel - nicer WI Entry footer spacing - corrected WI Entry textarea height calculations - centered send_textarea placeholder .mes_text now wraps anywhere to prevent long strings from overflowing-X - placeholders added to a few inputs
This commit is contained in:
@@ -309,7 +309,7 @@ function appendWorldEntry(entry) {
|
||||
|
||||
async function resetScrollHeight(element) {
|
||||
await delay(1);
|
||||
const height = Number($(element).prop("scrollHeight")) + 1;
|
||||
const height = Number($(element).prop("scrollHeight")) + 3;
|
||||
$(element).css("height", "");
|
||||
$(element).css("height", `${height}px`);
|
||||
}
|
||||
|
Reference in New Issue
Block a user