Skip to content

Commit e77128b

Browse files
committed
[JENKINS-75615] remove jenkins-avatar class
the jenkins-avatar class should only be applied on the UserAction and not on every icon.
1 parent 60df855 commit e77128b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/resources/lib/layout/header/actions.jelly

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<x:attribute name="data-type">header-action</x:attribute>
4747
<x:attribute name="draggable">false</x:attribute>
4848
<x:attribute name="class">jenkins-button ${isCurrent ? '' : 'jenkins-button--tertiary'}</x:attribute>
49-
<l:icon src="${icon}" class="jenkins-avatar" />
49+
<l:icon src="${icon}" class="${action.class.name == 'jenkins.model.navigation.UserAction' ? 'jenkins-avatar' : ''}"/>
5050
<span class="jenkins-visually-hidden" data-type="action-label">${action.displayName}</span>
5151
<j:if test="${badge != null}">
5252
<span class="jenkins-badge jenkins-!-${badge.severity}-color" />

0 commit comments

Comments
 (0)