mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
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
Block a user