mirror of
https://github.com/redmine/redmine.git
synced 2026-07-10 11:52:10 +02:00
Project selector does not indent subprojects in RTL layout (#43715).
Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@24375 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -577,7 +577,7 @@ module ApplicationHelper
|
||||
s = (+'').html_safe
|
||||
build_project_link = lambda do |project, level = 0|
|
||||
padding = level * 16
|
||||
text = content_tag('span', project.name, :style => "padding-left:#{padding}px;")
|
||||
text = content_tag('span', project.name, :style => "padding-inline-start:#{padding}px;")
|
||||
s << link_to(text, project_path(project, :jump => jump),
|
||||
:title => project.name,
|
||||
:class => (project == selected ? 'selected' : nil))
|
||||
|
||||
Reference in New Issue
Block a user