mirror of
https://github.com/element-hq/element-web
synced 2024-11-25 10:45:51 +03: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
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue