remove now-unnecessary shit (i replaced in db)

pull/216/head
Aevann 2023-10-17 15:50:39 +03:00
parent b367e29224
commit 572c3e043d
2 changed files with 2 additions and 2 deletions

View File

@ -5283,7 +5283,7 @@ textarea {
margin: 1.75rem auto !important;
}
}
.in-comment-image, .img, img[alt^="![]("],
.img, img[alt^="![]("],
.preview img:not(img[src^="/uid/"], img[src^="/pp/"], img[src$="/pic"], img[src$="/i/hand.webp"], img[src$="/i/talking.webp"], img[src*="/e/"]) {
max-height: 150px !important;
max-width: 100% !important;

View File

@ -177,7 +177,7 @@ document.addEventListener("click", function (e) {
if (!element) return
if (element instanceof HTMLImageElement && (element.alt.startsWith('![](') || element.classList.contains('in-comment-image') || element.classList.contains('img'))) {
if (element instanceof HTMLImageElement && (element.alt.startsWith('![](') || element.classList.contains('img'))) {
expandImage()
}
else if (element.classList.contains('showmore')) {