- remove mobile specific styles for send_textarea

- update welcome message
This commit is contained in:
RossAscends
2023-04-21 23:49:08 +09:00
parent 539f011e09
commit c9039a4377
2 changed files with 10 additions and 10 deletions

View File

@@ -250,11 +250,11 @@ const system_messages = {
mes: [
'Welcome to SillyTavern! In order to begin chatting:',
'<ol>',
'<li>Connect to one of the supported generation APIs</li>',
'<li>Create or pick a character from the list</li>',
'<li>Connect to one of the supported generation APIs (the plug icon)</li>',
'<li>Create or pick a character from the list (the top-right namecard icon)</li>',
'</ol>',
"<h4>Running on Colab and can't get an answer from the AI or getting Out of Memory errors?</h4>",
'Set a lower Context Size in AI generation settings.<br>Values in range of 1400-1600 Tokens would be the safest choice.',
'Set a lower Context Size in AI generation settings (leftmost icon).<br>Values in range of 1400-1600 Tokens would be the safest choice.',
'<h4>Still have questions left?</h4>',
'Check out built-in help or type <tt>/?</tt> in any chat.'
].join('')
@@ -1663,7 +1663,7 @@ async function Generate(type, automatic_trigger, force_name2) {
is_add_personality = true;
//chatString = chatString.substr(0,chatString.length-1);
//anchorAndPersonality = "[Genre: roleplay chat][Tone: very long messages with descriptions]";
let personalityAndAnchor = [ charPersonality, anchorTop ].filter(x => x).join(' ');
let personalityAndAnchor = [charPersonality, anchorTop].filter(x => x).join(' ');
if (personalityAndAnchor && !is_pygmalion) {
item += "[" + personalityAndAnchor + ']\n';
}

View File

@@ -3489,11 +3489,11 @@ body.movingUI #expression-holder {
}
#send_textarea {
font-size: calc(var(--mainFontSize) + .25rem);
line-height: calc(var(--mainFontSize) + .5rem);
/* #send_textarea {
font-size: calc(var(--mainFontSize));
line-height: calc(var(--mainFontSize));
min-height: calc(2rem + 0.75rem + 2px);
max-height: 200px;
max-height: 200px;
word-wrap: break-word;
height: 40px;
resize: vertical;
@@ -3505,7 +3505,7 @@ body.movingUI #expression-holder {
font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
margin: 0;
text-shadow: #000 0 0 3px;
}
} */
#rm_ch_create_block textarea {
max-height: 200px;