JENKINS-39627 Alignment of cog is off on Result (#596)
* bug/JENKINS-39627-buttonbarlayout * Adjustments to button bar and settings icon to fix layout * bug/JENKINS-39627-buttonbarlayout * Fix eslint 'errors'
This commit is contained in:
parent
953a8421d1
commit
5c356b1d9a
|
@ -37,7 +37,12 @@ const { func, object, any, string } = PropTypes;
|
|||
const classicConfigLink = (pipeline) => {
|
||||
let link = null;
|
||||
if (AppConfig.getInitialUser() !== 'anonymous') {
|
||||
link = <a href={buildClassicConfigUrl(pipeline)} target="_blank"><Icon size={24} icon="settings" style={{ fill: '#fff' }} /></a>;
|
||||
let url = buildClassicConfigUrl(pipeline);
|
||||
link = (
|
||||
<a href={url} target="_blank" style={{ height: '24px' }}>
|
||||
<Icon size={24} icon="settings" style={{ fill: '#fff' }} />
|
||||
</a>
|
||||
);
|
||||
}
|
||||
return link;
|
||||
};
|
||||
|
|
|
@ -332,6 +332,10 @@ code div a.btn-secondary.inverse:hover{
|
|||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
|
||||
&>*+* {
|
||||
margin-left:1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue