Merge branch 'staging' of http://github.com/cohee1207/SillyTavern into staging

This commit is contained in:
Cohee
2023-08-23 10:32:52 +03:00
2 changed files with 14 additions and 14 deletions

View File

@@ -841,7 +841,7 @@ jQuery(async function () {
//this makes the chat input text area resize vertically to match the text size (limited by CSS at 50% window height) //this makes the chat input text area resize vertically to match the text size (limited by CSS at 50% window height)
$('#send_textarea').on('input', function () { $('#send_textarea').on('input', function () {
this.style.height = '40px'; this.style.height = '30px';
this.style.height = (this.scrollHeight) + 'px'; this.style.height = (this.scrollHeight) + 'px';
}); });

View File

@@ -513,19 +513,19 @@ hr {
#send_but_sheld { #send_but_sheld {
padding: 0; padding: 0;
border: 0; border: 0;
height: 40px; height: 30px;
position: relative; position: relative;
background-position: center; background-position: center;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
column-gap: 5px; column-gap: 5px;
font-size: 30px; font-size: 25px;
overflow: hidden; overflow: hidden;
} }
#send_but_sheld>div { #send_but_sheld>div {
width: 40px; width: 30px;
height: 40px; height: 30px;
margin: 0; margin: 0;
outline: none; outline: none;
border: none; border: none;
@@ -553,8 +553,8 @@ hr {
} }
#options_button { #options_button {
width: 40px; width: 30px;
height: 40px; height: 30px;
margin: 0; margin: 0;
outline: none; outline: none;
border: none; border: none;
@@ -562,10 +562,10 @@ hr {
opacity: 0.7; opacity: 0.7;
cursor: pointer; cursor: pointer;
z-index: 2001; z-index: 2001;
padding-left: 10px; margin-left: 10px;
padding-top: 0; padding: 0;
transition: 0.3s; transition: 0.3s;
font-size: 30px; font-size: 25px;
display: flex; display: flex;
align-items: center; align-items: center;
} }
@@ -876,17 +876,17 @@ select {
} }
#send_textarea { #send_textarea {
min-height: 40px; min-height: 30px;
max-height: 50vh; max-height: 50vh;
max-height: 50svh; max-height: 50svh;
word-wrap: break-word; word-wrap: break-word;
height: 40px; height: 30px;
resize: vertical; resize: vertical;
display: block; display: block;
background-color: rgba(255, 0, 0, 0); background-color: rgba(255, 0, 0, 0);
border: 0; border: 0;
box-shadow: none; box-shadow: none;
padding: 6px; padding: 0;
font-family: "Noto Sans", "Noto Color Emoji", sans-serif; font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
margin: 0; margin: 0;
text-shadow: 0px 0px calc(var(--shadowWidth) * 1px) var(--SmartThemeShadowColor); text-shadow: 0px 0px calc(var(--shadowWidth) * 1px) var(--SmartThemeShadowColor);
@@ -3510,4 +3510,4 @@ a {
z-index: 10; z-index: 10;
margin-left: 10px; margin-left: 10px;
/* Give some space between the button and search box */ /* Give some space between the button and search box */
} }