forked from matrix/element-web
make image event bodies display as blocks to avoid auto sizing, so we can measure their width to explicitly set their height
This commit is contained in:
parent
95a46ae201
commit
9e95d2e4ac
|
@ -14,6 +14,10 @@ See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
.mx_MImageBody {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
.mx_MImageBody_thumbnail {
|
.mx_MImageBody_thumbnail {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue