riot-web/res/css/views/messages
David Baker a0c029c3c1
Fix alignment of RTL messages (#12837)
* Fix alignment of RTL messages

Inspired by https://github.com/matrix-org/matrix-react-sdk/pull/5453 but
hopefully with the edited marker in the right place.

This is a PoC: types aren't correct and the style needs pulling
out to a class. Plus it would probably need more visual tests added.
If this looks acceptable, I can make these changes.

* Fix spacing between text and edited annotation

* Update snapshot

* Update more snapshots

* More snapshots

* More more snapshots

* Split out style

* Fix emotes

This will cause them always be right-justified if the display name
is rtl.

* Add playwright test for ltr/rtl message rendering

* Better snapshots

* Await on message sending

* Better waiting, hopefully

* Old snapshot files

* Really hopefully fixed screenshots this time

* Don't include the message action bar in the screenshots
2024-07-31 22:23:46 +00:00
..
_CallEvent.pcss
_CreateEvent.pcss
_DateSeparator.pcss Refine the colors of some more components (#12343) 2024-03-18 15:47:55 +00:00
_DecryptionFailureBody.pcss
_DisambiguatedProfile.pcss
_EventTileBubble.pcss
_HiddenBody.pcss
_JumpToDatePicker.pcss
_LegacyCallEvent.pcss Fix deformed avatar in call in a narrow timeline (#12538) 2024-05-16 08:00:57 +00:00
_MEmoteBody.pcss Fix alignment of RTL messages (#12837) 2024-07-31 22:23:46 +00:00
_MFileBody.pcss
_MImageBody.pcss
_MImageReplyBody.pcss
_MJitsiWidgetEvent.pcss
_MLocationBody.pcss
_MNoticeBody.pcss
_MPollBody.pcss
_MPollEndBody.pcss
_MStickerBody.pcss Use Compound tooltips more widely (#12128) 2024-01-11 11:49:24 +00:00
_MTextBody.pcss
_MVideoBody.pcss
_MediaBody.pcss
_MessageActionBar.pcss Refine styles of menus, toasts, popovers, and modals (#12332) 2024-03-13 13:38:32 +00:00
_MessageTimestamp.pcss
_MjolnirBody.pcss
_ReactionsRow.pcss
_ReactionsRowButton.pcss
_RedactedBody.pcss
_RoomAvatarEvent.pcss
_TextualEvent.pcss
_TimelineSeparator.pcss Refine the colors of some more components (#12343) 2024-03-18 15:47:55 +00:00
_UnknownBody.pcss
_ViewSourceEvent.pcss
_common_CryptoEvent.pcss