Commit b00f97c
content: Use directional layout for message media
Previously, these previews (for images and video) were hardcoded
to align to the left, with padding on the right. This resulted
in an incorrect layout in RTL locales.
We now use directional positioning so that the alignment and
padding flip correctly based on the text direction.1 parent 8baf786 commit b00f97c
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
741 | 741 | | |
742 | 742 | | |
743 | 743 | | |
744 | | - | |
| 744 | + | |
745 | 745 | | |
746 | 746 | | |
747 | 747 | | |
748 | | - | |
| 748 | + | |
749 | 749 | | |
750 | 750 | | |
751 | 751 | | |
| |||
0 commit comments