Token counter layout adjust

This commit is contained in:
Cohee 2023-11-05 22:55:10 +02:00
parent 13d8ec5768
commit fd9c8b86e9
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ async function doTokenCounter() {
<div class="justifyLeft">
<h4>Type / paste in the box below to see the number of tokens in the text.</h4>
<p>Selected tokenizer: ${selectedTokenizer}</p>
<textarea id="token_counter_textarea" class="wide100p textarea_compact margin-bot-10px" rows="20"></textarea>
<textarea id="token_counter_textarea" class="wide100p textarea_compact margin-bot-10px" rows="15"></textarea>
<div>Tokens: <span id="token_counter_result">0</span></div>
<br>
<div>Token IDs (if applicable):</div>
@ -47,7 +47,7 @@ async function doTokenCounter() {
});
$('#dialogue_popup').addClass('wide_dialogue_popup');
callPopup(dialog, 'text');
callPopup(dialog, 'text', '', { wide: true, large: true });
}
function doCount() {