Keep aspect ratio of images shrunk by max-width in conversation view
This commit is contained in:
6
public/css/style.css
vendored
6
public/css/style.css
vendored
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user