Creator notes in char list are no longer first line only.

This commit is contained in:
Cohee 2024-03-02 19:46:59 +02:00
parent 95c49029f7
commit 456c4c333f
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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);
}