-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Description
#10245 modernized the Jenkins header. It adds the class "jenkins-avatar" to all icons in the header, thereby having them all overlayed with a circular mask. Custom icons can have a square shape and are wrongly cut by that circular mask.
For reproduction install a plugin with custom global actions (most simple: sidebar plugin, which can add arbitrary custom global actions).
Be aware that screenshot is with custom header plugin installed, but custom header plugin does not cause this (clarified in jenkinsci/customizable-header-plugin#215
The relevant line is probably
| <l:icon src="${icon}" class="jenkins-avatar" /> |
I could create a PR to simply remove the class attribute but I'm not sure if I can easily test this locally, given I'm behind a company proxy that interferes with the maven build.
Originally reported by
bananeweizen, imported from: Redesigned Jenkins header wrongly puts circular mask on custom icons
- assignee: mawinter69
- status: Closed
- priority: Minor
- component(s): core
- resolution: Fixed
- resolved: 2025-05-06T15:34:04+00:00
- votes: 0
- watchers: 1
- imported: 2025-11-24
Raw content of original issue
#10245 modernized the Jenkins header. It adds the class "jenkins-avatar" to all icons in the header, thereby having them all overlayed with a circular mask. Custom icons can have a square shape and are wrongly cut by that circular mask.
For reproduction install a plugin with custom global actions (most simple: sidebar plugin, which can add arbitrary custom global actions).
Be aware that screenshot is with custom header plugin installed, but custom header plugin does not cause this (clarified in jenkinsci/customizable-header-plugin#215
The relevant line is probably
<l:icon src="${icon}" class="jenkins-avatar" /> I could create a PR to simply remove the class attribute but I'm not sure if I can easily test this locally, given I'm behind a company proxy that interferes with the maven build.

