Skip to content

Commit 9e95d2e

Browse files
committed
make image event bodies display as blocks to avoid auto sizing, so we can measure their width to explicitly set their height
1 parent 95a46ae commit 9e95d2e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎src/skins/vector/css/matrix-react-sdk/views/messages/MImageBody.css‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17+
.mx_MImageBody {
18+
display: block;
19+
}
20+
1721
.mx_MImageBody_thumbnail {
1822
max-width: 100%;
1923
/*

0 commit comments

Comments
 (0)