Repository navigation
Commit 8e7f514
committed
fix(web): render Hebrew/Arabic chat markdown right-to-left
Every leaf block in .chat-markdown resolves its own base direction from its
first strong character (unicode-bidi: plaintext + text-align: start), and
lists / blockquotes / tables get dir="auto" so markers, the quote bar and
column order land on the content's side. Physical paddings/borders on those
containers become logical. Code stays LTR. No global flip: a mixed
English/Hebrew message renders block by block.1 parent f2d5fc9 commit 8e7f514
2 files changed
Lines changed: 45 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1563 | 1563 | | |
1564 | 1564 | | |
1565 | 1565 | | |
1566 | | - | |
| 1566 | + | |
| 1567 | + | |
| 1568 | + | |
| 1569 | + | |
| 1570 | + | |
1567 | 1571 | | |
1568 | 1572 | | |
1569 | 1573 | | |
1570 | 1574 | | |
1571 | | - | |
| 1575 | + | |
1572 | 1576 | | |
1573 | 1577 | | |
1574 | 1578 | | |
| |||
1583 | 1587 | | |
1584 | 1588 | | |
1585 | 1589 | | |
1586 | | - | |
| 1590 | + | |
| 1591 | + | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
1587 | 1596 | | |
1588 | 1597 | | |
| 1598 | + | |
| 1599 | + | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
1589 | 1604 | | |
1590 | 1605 | | |
1591 | 1606 | | |
| |||
1730 | 1745 | | |
1731 | 1746 | | |
1732 | 1747 | | |
1733 | | - | |
| 1748 | + | |
1734 | 1749 | | |
1735 | 1750 | | |
1736 | 1751 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1584 | 1584 | | |
1585 | 1585 | | |
1586 | 1586 | | |
| 1587 | + | |
| 1588 | + | |
| 1589 | + | |
| 1590 | + | |
| 1591 | + | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
1587 | 1605 | | |
1588 | 1606 | | |
1589 | 1607 | | |
| |||
1640 | 1658 | | |
1641 | 1659 | | |
1642 | 1660 | | |
1643 | | - | |
| 1661 | + | |
1644 | 1662 | | |
1645 | 1663 | | |
1646 | 1664 | | |
| |||
1651 | 1669 | | |
1652 | 1670 | | |
1653 | 1671 | | |
1654 | | - | |
| 1672 | + | |
1655 | 1673 | | |
1656 | 1674 | | |
1657 | 1675 | | |
| |||
1681 | 1699 | | |
1682 | 1700 | | |
1683 | 1701 | | |
1684 | | - | |
| 1702 | + | |
| 1703 | + | |
1685 | 1704 | | |
1686 | 1705 | | |
1687 | 1706 | | |
| |||
1705 | 1724 | | |
1706 | 1725 | | |
1707 | 1726 | | |
1708 | | - | |
1709 | | - | |
| 1727 | + | |
| 1728 | + | |
1710 | 1729 | | |
1711 | 1730 | | |
1712 | 1731 | | |
| |||
1720 | 1739 | | |
1721 | 1740 | | |
1722 | 1741 | | |
1723 | | - | |
| 1742 | + | |
1724 | 1743 | | |
1725 | 1744 | | |
1726 | 1745 | | |
| |||
1832 | 1851 | | |
1833 | 1852 | | |
1834 | 1853 | | |
1835 | | - | |
| 1854 | + | |
1836 | 1855 | | |
1837 | 1856 | | |
1838 | 1857 | | |
| |||
0 commit comments