Keep aspect ratio of images shrunk by max-width in conversation view

This commit is contained in:
il2020
2026-09-30 14:28:59 +04:00
committed by GitHub
parent f46f1d678b
commit 1beaa0b60e

View File

@@ -2458,6 +2458,10 @@ button.conv-checkbox-clear {
.thread-content img {
max-width: 100%;
}
/* Keep aspect ratio when max-width shrinks an image with width/height attributes */
.thread-content img[width] {
height: auto;
}
.conv-new #conv-toolbar {
border-bottom: 1px solid #d4d9dd;
padding: 6px 0 7px 0;
@@ -4638,4 +4642,4 @@ a.disabled:focus {
.btn {
border-radius: 5px;
}
}