add maximize button to creator note

This commit is contained in:
RossAscends 2024-03-03 22:25:20 +09:00
parent 1e555bcb8f
commit be38359d66
2 changed files with 14 additions and 1 deletions

View File

@ -4298,7 +4298,7 @@
</div>
<div class="flex-container flexnowrap">
<div class="flex1">
<h4 data-i18n="Creator's Notes">Creator's Notes</h4>
<h4 class="flex-box" data-i18n="Creator's Notes">Creator's Notes<i class="editor_maximize fa-solid fa-maximize" data-for="creator_notes_textarea" title="Expand the editor"></i></h4>
<textarea id="creator_notes_textarea" name="creator_notes" data-i18n="[placeholder](Describe the bot, give use tips, or list the chat models it has been tested on. This will be displayed in the character list.)" placeholder="(Describe the bot, give use tips, or list the chat models it has been tested on. This will be displayed in the character list.)" form="form_create" class="text_pole" autocomplete="off" rows="4" maxlength="20000"></textarea>
</div>
<div class="flex1">

View File

@ -1018,6 +1018,19 @@ select {
order: 3;
}
#character_popup .editor_maximize {
cursor: pointer;
margin: 5px;
opacity: 0.75;
filter: grayscale(1);
-webkit-transition: all 250ms ease-in-out;
transition: all 250ms ease-in-out;
}
#character_popup .editor_maximize:hover {
opacity: 1;
}
.text_pole::placeholder {
color: rgb(139, 139, 139);
}