diff --git a/public/script.js b/public/script.js index f6fd01099..8c68278af 100644 --- a/public/script.js +++ b/public/script.js @@ -1727,7 +1727,7 @@ async function Generate(type, automatic_trigger, force_name2) { $("#chat").children().removeClass('lastInContext'); console.log(arrMes.length); - $(`#chat .mes:nth-last-child(${arrMes.length})`).addClass('lastInContext'); + $(`#chat .mes:nth-last-child(${arrMes.length} of :not([is_system="true"])`).addClass('lastInContext'); break; } diff --git a/public/style.css b/public/style.css index fd2a54b23..8c4eb8680 100644 --- a/public/style.css +++ b/public/style.css @@ -3957,7 +3957,7 @@ body.waifuMode #avatar_zoom_popup { } .lastInContext { - border-top: 5px dashed var(--SmartThemeQuoteColor) !important; + border-top: 3px dotted var(--SmartThemeQuoteColor) !important; } @media screen and (max-width: 1000px) and (orientation: landscape) {