diff --git a/webviews/common/common.css b/webviews/common/common.css index e627c12ff9..891b88e33c 100644 --- a/webviews/common/common.css +++ b/webviews/common/common.css @@ -376,6 +376,10 @@ body img.avatar { margin-right: 0; } +.status-check-link-placeholder { + visibility: hidden; +} + .automerge-section { display: flex; } diff --git a/webviews/components/merge.tsx b/webviews/components/merge.tsx index b13faf6ca2..edb7fa16c9 100644 --- a/webviews/components/merge.tsx +++ b/webviews/components/merge.tsx @@ -705,14 +705,12 @@ const StatusCheckDetails = ({ statuses }: { statuses: PullRequestCheckStatus[] } Details - ) : null} - {s.isCheckRun && s.databaseId ? ( - s.state === CheckState.Failure ? ( - - ) : - ) : null} + ) : } + {s.isCheckRun && s.databaseId && s.state === CheckState.Failure ? ( + + ) :