Project

General

Profile

Actions

Defect #42907

closed

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

Defect #42907: Sub tasks and sub projects are using still the old chevron-right icon

Added by Liane Hampe over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
UI
Target version:
-
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 1 (1 open — 0 closed)

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

Updated by Go MAEDA over 1 year ago Actions #1

  • 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?

Updated by Liane Hampe over 1 year ago Actions #2

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.

Updated by Marius BĂLTEANU over 1 year ago Actions #3

  • 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.

Updated by Liane Hampe over 1 year ago Actions #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.

Updated by Marius BĂLTEANU over 1 year ago Actions #5

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.

Updated by Go MAEDA over 1 year ago Actions #6

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

Also available in: PDF Atom