mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Remove autohide and blur from individual message
This commit is contained in:
@ -793,8 +793,6 @@ function printMessages() {
|
|||||||
chat.forEach(function (item, i, arr) {
|
chat.forEach(function (item, i, arr) {
|
||||||
addOneMessage(item);
|
addOneMessage(item);
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#chat .mes').addClass('auto_hide');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function clearChat() {
|
function clearChat() {
|
||||||
@ -940,6 +938,12 @@ function addOneMessage(mes, type = "normal", insertAfter = null) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
const lastMes = $('#chat .mes').last().get(0);
|
||||||
|
const rect = lastMes.getBoundingClientRect();
|
||||||
|
lastMes.style.containIntrinsicSize = `${rect.width}px ${rect.height}px`;
|
||||||
|
*/
|
||||||
|
|
||||||
// Don't scroll if not inserting last
|
// Don't scroll if not inserting last
|
||||||
if (!insertAfter) {
|
if (!insertAfter) {
|
||||||
$('#chat .mes').last().addClass('last_mes');
|
$('#chat .mes').last().addClass('last_mes');
|
||||||
|
@ -3115,7 +3115,6 @@ body.bubblechat #chat {
|
|||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
display: flex;
|
display: flex;
|
||||||
bottom: 10px;
|
bottom: 10px;
|
||||||
-webkit-backdrop-filter: blur(10px);
|
|
||||||
text-shadow: #000 0 0 3px;
|
text-shadow: #000 0 0 3px;
|
||||||
scrollbar-width: thin;
|
scrollbar-width: thin;
|
||||||
transition: all 1s ease-in-out;
|
transition: all 1s ease-in-out;
|
||||||
@ -3145,8 +3144,7 @@ body.bubblechat .mes {
|
|||||||
padding: 10px;
|
padding: 10px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
backdrop-filter: blur(10px);
|
background-color: var(--black70a);
|
||||||
background-color: var(--black60a);
|
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
border: 1px solid rgba(255,255,255,0.2);
|
border: 1px solid rgba(255,255,255,0.2);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user