mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-10 06:36:21 +02: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.
|
||||
*/
|
||||
|
||||
.mx_MImageBody {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.mx_MImageBody_thumbnail {
|
||||
max-width: 100%;
|
||||
/*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user