mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-07 05:08:01 +01:00
Creator notes in char list are no longer first line only.
This commit is contained in:
parent
95c49029f7
commit
456c4c333f
@ -165,7 +165,7 @@ body.big-avatars .avatar-container .ch_description {
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
white-space: normal;
|
||||
white-space: pre-line;
|
||||
text-overflow: unset;
|
||||
}
|
||||
|
||||
|
@ -1208,7 +1208,7 @@ function getCharacterBlock(item, id) {
|
||||
template.toggleClass('is_fav', item.fav || item.fav == 'true');
|
||||
template.find('.ch_fav').val(item.fav);
|
||||
|
||||
const description = item.data?.creator_notes?.split('\n', 1)[0] || '';
|
||||
const description = item.data?.creator_notes || '';
|
||||
if (description) {
|
||||
template.find('.ch_description').text(description);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user