diff --git a/public/css/toggle-dependent.css b/public/css/toggle-dependent.css
index b6cf2ace1..7b7ccbee1 100644
--- a/public/css/toggle-dependent.css
+++ b/public/css/toggle-dependent.css
@@ -231,10 +231,16 @@ body.big-avatars .avatars_inline_small .avatar img {
body.big-avatars .avatars_inline {
max-height: calc(var(--avatar-base-height) * var(--big-avatar-height-factor) + 2 * var(--avatar-base-border-radius));
}
+body.big-avatars .avatars_inline.avatars_multiline {
+ max-height: fit-content;
+}
body.big-avatars .avatars_inline.avatars_inline_small {
height: calc(var(--avatar-base-height) * var(--big-avatar-height-factor) * var(--inline-avatar-small-factor) + 2 * var(--avatar-base-border-radius));
}
+body.big-avatars .avatars_inline.avatars_inline_small.avatars_multiline {
+ height: inherit;
+}
body:not(.big-avatars) .avatars_inline_small .avatar_collage {
min-width: calc(var(--avatar-base-width) * var(--inline-avatar-small-factor));
diff --git a/public/index.html b/public/index.html
index 8b5093164..6b3de8598 100644
--- a/public/index.html
+++ b/public/index.html
@@ -4981,7 +4981,7 @@
Character
-
@@ -5039,7 +5039,7 @@
diff --git a/public/scripts/personas.js b/public/scripts/personas.js
index f2d73dcad..41bd0d6bd 100644
--- a/public/scripts/personas.js
+++ b/public/scripts/personas.js
@@ -558,7 +558,7 @@ export async function askForPersonaSelection(title, text, personas) {
content.appendChild(textElement);
const personaListBlock = document.createElement('div');
- personaListBlock.classList.add('persona-list', 'avatars_inline', 'flex-container');
+ personaListBlock.classList.add('persona-list', 'avatars_inline', 'avatars_multiline');
content.appendChild(personaListBlock);
buildPersonaAvatarList(personaListBlock, personas, { interactable: true });
@@ -1201,7 +1201,7 @@ async function loadPersonaForCurrentChat() {
toastr.warning(t`More than one persona is connected to this character. Using the first available persona for this chat.`, t`Automatic Persona Selection`);
} else {
chatPersona = await askForPersonaSelection(t`Select Persona`,
- t`Select one of multiple with this character connected persona to use for this chat`,
+ t`Multiple personas are connected to this character. Select a persona to use for this chat.`,
connectedPersonas);
}
}
diff --git a/public/style.css b/public/style.css
index efc3d3223..413a6273f 100644
--- a/public/style.css
+++ b/public/style.css
@@ -1191,6 +1191,8 @@ body.swipeAllMessages .mes:not(.last_mes) .swipes-counter {
}
.avatars_inline {
+ display: flex;
+ gap: 5px;
flex-wrap: wrap;
overflow: hidden;
max-height: calc(var(--avatar-base-height) + 2 * var(--avatar-base-border-radius));
@@ -1227,6 +1229,11 @@ body.swipeAllMessages .mes:not(.last_mes) .swipes-counter {
margin-right: calc(var(--avatar-base-border-radius));
}
+.avatars_multiline {
+ max-height: fit-content;
+ height: inherit;
+}
+
.mes_block {
padding-top: 0;
padding-left: 10px;