Skip to content

Commit

Permalink
fix(ui): Fixes health icon positioning (argoproj#14708) (argoproj#14852)
Browse files Browse the repository at this point in the history
* fix: Fixes health icon positioning argoproj#14708

Signed-off-by: ashinsabu3 <ashin.sabu@harness.io>

* fix: Fixes alignment of app health application status panel argoproj#14708

Signed-off-by: ashinsabu3 <ashin.sabu@harness.io>

* fix: Added line height to App Status to fix its  positioning argoproj#14708

Signed-off-by: ashinsabu3 <ashin.sabu@harness.io>

---------

Signed-off-by: ashinsabu3 <ashin.sabu@harness.io>
Signed-off-by: Jimmy Neville <jimmyeneville@gmail.com>
  • Loading branch information
ashinsabu3 authored and Jneville0815 committed Sep 30, 2023
1 parent 494a759 commit e7396b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
}
display: flex;
flex-direction: column;
justify-content: flex-start;
flex-shrink: 0;
flex-grow: 0;

Expand Down Expand Up @@ -134,7 +135,7 @@

&__item-value {
display: flex;
align-items: flex-end;
align-items: center;
margin-bottom: 0.5em;
font-weight: 500;
.fa {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const ApplicationStatusPanel = ({application, showDiff, showOperation, sh
return (
<div className='application-status-panel row'>
<div className='application-status-panel__item'>
<div style={{marginBottom: '1em'}}>{sectionLabel({title: 'APP HEALTH', helpContent: 'The health status of your app'})}</div>
<div style={{lineHeight: '19.5px', marginBottom: '0.3em'}}>{sectionLabel({title: 'APP HEALTH', helpContent: 'The health status of your app'})}</div>
<div className='application-status-panel__item-value'>
<HealthStatusIcon state={application.status.health} />
&nbsp;
Expand Down

0 comments on commit e7396b2

Please sign in to comment.