Defect #42907
closedSub tasks and sub projects are using still the old chevron-right icon
0%
Description
tr.idnt td.subject, tr.idnt td.name {background: url(/chevron-right-idnt.svg) no-repeat 2px 50%;}
Files
Related issues
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.
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.
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.
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.
Updated by Go MAEDA 21 days ago
- Related to Patch #42938: Add sprite icons to sub items of projects and issues added