Project

General

Profile

Actions

Defect #42907

closed

Sub tasks and sub projects are using still the old chevron-right icon

Added by Liane Hampe about 1 month ago. Updated 26 days ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
UI
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

tr.idnt td.subject, tr.idnt td.name {background: url(/chevron-right-idnt.svg) no-repeat 2px 50%;}

Files


Related issues

Related to Redmine - Patch #42938: Add sprite icons to sub items of projects and issuesNew

Actions
Actions #1

Updated by Go MAEDA 30 days ago

  • Status changed from New to Needs feedback

The chevron-right-idnt.svg image is a new vector icon introduced in #42520, not an "old" raster one.
What do you think the problem is?

Actions #2

Updated by Liane Hampe 28 days ago

Thank your for your reply.

I expected the chevron icon to be a tabler icon for consistency.

#42520 seemed to be a quick fix only.

Actions #3

Updated by Marius BĂLTEANU 27 days ago

  • Status changed from Needs feedback to Closed
  • Resolution set to Invalid

The chevron icon is a Tabler icon, but with a different stroke colour defined directly in the markup because you cannot override it from CSS when you defined it as background-image:

<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="#ccd" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="m9 18 6-6-6-6"/></svg>

I chose to do it like this because rendering the chevron in the HTML was the simplest solution and we use it in a few more places.

Actions #4

Updated by Liane Hampe 26 days ago

Ah, I see. Due to the stroke color and width it looks very different to all the other chevron icons. However, if nobody can change the color via CSS, it is probably a good choice to use a neutral grey.

When you think it would be nice to have a customizable chevron I would be happy to assist you with a patch.

Actions #5

Updated by Marius BĂLTEANU 26 days ago

Liane Hampe wrote in #note-4:

Ah, I see. Due to the stroke color and width it looks very different to all the other chevron icons. However, if nobody can change the color via CSS, it is probably a good choice to use a neutral grey.

When you think it would be nice to have a customizable chevron I would be happy to assist you with a patch.

I will be happy to review it, but please open a new issue with the improvement.

Actions #6

Updated by Go MAEDA 21 days ago

  • Related to Patch #42938: Add sprite icons to sub items of projects and issues added
Actions

Also available in: Atom PDF