Set min-height to event when formatted HTML is empty to avoid overlapping timestamps
See original GitHub issueSteps to reproduce
Received message with custom html:
{
"room_id": "!redacted:envs.net",
"type": "m.room.message",
"content": {
"body": "<div style=\"padding-top: 56.25%; position: relative;\"> <iframe src=\"redacted\" allowfullscreen frameborder=\"0\" style=\"position: absolute; top: 0; left: 0; width: 100%; height: 100%;\" ></iframe> </div>",
"format": "org.matrix.custom.html",
"msgtype": "m.text",
"formatted_body": "<!-- raw HTML omitted -->"
}
}
Outcome
Timestamps overlap, because the content collapses for some reason. The mosaic part is user image and name, works as usual. There are three over lapping timestamps, but you can have more or less, by sending content like above.
Operating system
Ubuntu
Application version
1.10.6
How did you install the app?
No response
Homeserver
doesn’t affect afaik
Will you send logs?
No
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Set min-height to event when formatted HTML is empty to avoid ...
Set min-height to event when formatted HTML is empty to avoid overlapping timestamps · Set min-height to event when formatted HTML is empty...
Read more >Prevent div from overlapping using height / min-height attribute
When I use the min-height attribute, the top div overlaps the bottom divs.. but when I remove it, then the bottom divs will...
Read more >TextClock - Android Developers
This view honors the 24-hour format system setting. As such, it is possible and ... android:minHeight, Makes the TextView be at least this...
Read more >min-height - CSS: Cascading Style Sheets - MDN Web Docs
The min-height CSS property sets the minimum height of an element. It prevents the used value of the height property from becoming smaller...
Read more >timeline - vis.js - A dynamic, browser based visualization library.
Name Type Default
align String 'center'
autoResize boolean true
clickToUse boolean false
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@andybalaam May I work on this issue.
Noted