Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions res/css/views/rooms/_EventTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,8 @@ $left-gutter: 64px;

/* De-zalgoing */
.mx_EventTile_body {
text-align: start;
display: block;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than changing mx_EventTile_body elements (which are spans) to display: block, it would be more straightforward to instead make them divs and get this for free.

It would also make sense to me to change mx_EventTile_content elements to divs as well, and remove their display: block style, so we are consistently using div vs. span for their intended meaning.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay I've changed them over to divs. This mostly works except it breaks the layout for edited messages and /me messages. I'm not sure how to fix this.

screenshots

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, hmm... 😖 Okay, I'll have to think about how we'd want to handle the edited case.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the issue with edited case?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See the screenshot above. The (edited) label is in the wrong place.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not set its display to block and then text-align to start?

overflow-y: hidden;
}

Expand Down