diff --git a/public/index.html b/public/index.html index eaba9f7a0..613b4ca3c 100644 --- a/public/index.html +++ b/public/index.html @@ -1356,9 +1356,7 @@
- +
diff --git a/public/script.js b/public/script.js index b1b8903ab..235f9210a 100644 --- a/public/script.js +++ b/public/script.js @@ -961,7 +961,9 @@ function addOneMessage(mes, type = "normal", insertAfter = null) { } newMessage.find('.avatar img').on('error', function () { - $(this).attr("src", "/img/user-slash-solid.svg"); + /* $(this).attr("src", "/img/user-slash-solid.svg"); */ + $(this).hide(); + $(this).parent().html(`
`); }); if (type === 'swipe') { diff --git a/public/style.css b/public/style.css index 93223f7dd..edb435630 100644 --- a/public/style.css +++ b/public/style.css @@ -2377,7 +2377,7 @@ h5 { } #rm_button_back_from_group { - padding: 0; + padding: 5px; } #typing_indicator_template { @@ -2392,6 +2392,10 @@ h5 { text-shadow: 2px 2px 2px var(--black60a); } +.missing-avatar { + font-size: 36px; +} + .typing_indicator:after { display: inline-block; vertical-align: bottom;