mirror of
https://github.com/prymitive/karma
synced 2026-05-05 03:16:51 +00:00
chore(ui): modify annotation link style
This commit is contained in:
committed by
Łukasz Mierzwa
parent
6f3afcbdbb
commit
4b793ed408
@@ -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\\"
|
||||
|
||||
@@ -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\\"
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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\\"
|
||||
|
||||
@@ -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\\"
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user