Skip to content

Commit c117fe3

Browse files
authored
fix(ui5-table-column): align content right in RTL (#2955)
FIXES: #2945
1 parent 8ef07fe commit c117fe3

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

packages/main/src/TableColumn.hbs

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
scope="col"
33
part="column"
44
role="columnheader"
5+
dir="{{effectiveDir}}"
56
>
67
<slot></slot>
78
</th>

packages/main/src/themes/TableColumn.css

+4
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ th {
1515
vertical-align: middle;
1616
}
1717

18+
th[dir="rtl"] {
19+
text-align: right;
20+
}
21+
1822
:host([first]) th {
1923
padding-left: 1rem;
2024
}

0 commit comments

Comments
 (0)