mirror of
https://github.com/redmine/redmine.git
synced 2026-01-30 03:09:58 +01:00
Force LTR layout for Gantt table in RTL locales (#43678).
Some Gantt features (column resizing, relation lines, progress line) do not work correctly in RTL yet. As a workaround, Gantt is always rendered in LTR even when the current locale is RTL. Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@24385 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
table.gantt-table {
|
||||
inline-size: 100%;
|
||||
border-collapse: collapse;
|
||||
/* Force LTR for Gantt even in RTL locales because column resizing, relation lines, and the progress line don't work in RTL yet. */
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
table.gantt-table td {
|
||||
@@ -248,9 +250,11 @@ td.gantt_watcher_users_column div.issue_watcher_users ul li:not(:last-child)::af
|
||||
margin-block-start: 1px;
|
||||
}
|
||||
|
||||
/* RTL adjustment (disabled while Gantt is forced LTR). Enable when RTL is supported.
|
||||
[dir="rtl"] :is(.marker, .task.parent.marker) {
|
||||
background-position: right;
|
||||
}
|
||||
*/
|
||||
|
||||
.version-behind-schedule a,
|
||||
.issue-behind-schedule a {
|
||||
|
||||
Reference in New Issue
Block a user