chore(ui): modify annotation link style

This commit is contained in:
Łukasz Mierzwa
2021-12-19 15:59:21 +00:00
committed by Łukasz Mierzwa
parent 6f3afcbdbb
commit 4b793ed408
6 changed files with 9 additions and 9 deletions

View File

@@ -125,7 +125,7 @@ exports[`<Alert /> matches snapshot when inhibited 1`] = `
href=\\"http://localhost\\"
target=\\"_blank\\"
rel=\\"noopener noreferrer\\"
class=\\"components-label components-label-with-hover badge components-grid-annotation-link\\"
class=\\"components-label components-label-with-hover badge border components-grid-annotation-link\\"
>
<svg
aria-hidden=\\"true\\"
@@ -254,7 +254,7 @@ exports[`<Alert /> matches snapshot with showAlertmanagers=false showReceiver=fa
href=\\"http://localhost\\"
target=\\"_blank\\"
rel=\\"noopener noreferrer\\"
class=\\"components-label components-label-with-hover badge components-grid-annotation-link\\"
class=\\"components-label components-label-with-hover badge border components-grid-annotation-link\\"
>
<svg
aria-hidden=\\"true\\"

View File

@@ -6,7 +6,7 @@ exports[`<RenderLinkAnnotation /> matches snapshot 1`] = `
href=\\"http://localhost/foo\\"
target=\\"_blank\\"
rel=\\"noopener noreferrer\\"
class=\\"components-label components-label-with-hover badge components-grid-annotation-link\\"
class=\\"components-label components-label-with-hover badge border components-grid-annotation-link\\"
>
<svg
aria-hidden=\\"true\\"

View File

@@ -90,7 +90,7 @@ const RenderLinkAnnotation: FC<{
href={value}
target="_blank"
rel="noopener noreferrer"
className="components-label components-label-with-hover badge components-grid-annotation-link"
className="components-label components-label-with-hover badge border components-grid-annotation-link"
>
<FontAwesomeIcon icon={faExternalLinkAlt} /> {name}
</a>

View File

@@ -100,7 +100,7 @@ exports[`<GroupFooter /> matches snapshot 1`] = `
href=\\"http://link.example.com\\"
target=\\"_blank\\"
rel=\\"noopener noreferrer\\"
class=\\"components-label components-label-with-hover badge components-grid-annotation-link\\"
class=\\"components-label components-label-with-hover badge border components-grid-annotation-link\\"
>
<svg
aria-hidden=\\"true\\"
@@ -224,7 +224,7 @@ exports[`<GroupFooter /> mathes snapshot when silence is rendered 1`] = `
href=\\"http://link.example.com\\"
target=\\"_blank\\"
rel=\\"noopener noreferrer\\"
class=\\"components-label components-label-with-hover badge components-grid-annotation-link\\"
class=\\"components-label components-label-with-hover badge border components-grid-annotation-link\\"
>
<svg
aria-hidden=\\"true\\"

View File

@@ -256,7 +256,7 @@ exports[`<ManagedSilence /> matches snapshot with expaned details 1`] = `
href=\\"http://example.com/#/silences/04d37636-2350-4878-b382-e0b50353230f\\"
target=\\"_blank\\"
rel=\\"noopener noreferrer\\"
class=\\"components-label components-label-with-hover badge components-grid-annotation-link\\"
class=\\"components-label components-label-with-hover badge border components-grid-annotation-link\\"
>
<svg
aria-hidden=\\"true\\"

View File

@@ -4,9 +4,9 @@
}
.components-grid-annotation-link {
text-decoration: underline;
text-decoration: none;
color: $link-color;
}
.components-grid-annotation-link:hover {
text-decoration: underline;
text-decoration: none;
}