Skip to content

Commit

Permalink
fix: [argoproj#5462] ArgoCD UI External links dropdown caret position…
Browse files Browse the repository at this point in the history
…ed incorrectly in list view (argoproj#6668)

* fix: argoproj#5462 ArgoCD UI External links dropdown caret positioned incorrectly in list view

Signed-off-by: ciiay <[email protected]>

* fix: minor uddaptes to fix eslint error

Signed-off-by: ciiay <[email protected]>
  • Loading branch information
ciiay authored Jul 9, 2021
1 parent 7e68b1e commit 040202e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/app/applications/components/application-urls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const ApplicationURLs = ({urls}: {urls: string[]}) => {

return (
((externalLinks || []).length > 0 && (
<span>
<div className='applications-list__external-links-icon-container'>
<a
title={externalLinks[0].title}
onClick={e => {
Expand All @@ -55,7 +55,7 @@ export const ApplicationURLs = ({urls}: {urls: string[]}) => {
/>
)}
</a>
</span>
</div>
)) ||
null
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,4 +207,10 @@
top: 1em;
right: 1em;
}

&__external-links-icon-container {
position: relative;
display: inline-block;
width: 28px;
}
}

0 comments on commit 040202e

Please sign in to comment.