mirror of
https://github.com/prymitive/karma
synced 2026-05-05 03:16:51 +00:00
fix(ui): annotation should have same hover style as other elements using badge class
This commit is contained in:
@@ -56,7 +56,7 @@ exports[`<Alert /> matches snapshot with showAlertmanagers=false showReceiver=fa
|
||||
<a href=\\"http://localhost\\"
|
||||
target=\\"_blank\\"
|
||||
rel=\\"noopener noreferrer\\"
|
||||
class=\\"text-nowrap text-truncate badge badge-secondary mr-1\\"
|
||||
class=\\"components-label-with-hover text-nowrap text-truncate badge badge-secondary mr-1\\"
|
||||
>
|
||||
<svg aria-hidden=\\"true\\"
|
||||
data-prefix=\\"fas\\"
|
||||
|
||||
@@ -5,7 +5,7 @@ exports[`<RenderLinkAnnotation /> matches snapshot 1`] = `
|
||||
<a href=\\"http://localhost/foo\\"
|
||||
target=\\"_blank\\"
|
||||
rel=\\"noopener noreferrer\\"
|
||||
class=\\"text-nowrap text-truncate badge badge-secondary mr-1\\"
|
||||
class=\\"components-label-with-hover text-nowrap text-truncate badge badge-secondary mr-1\\"
|
||||
>
|
||||
<svg aria-hidden=\\"true\\"
|
||||
data-prefix=\\"fas\\"
|
||||
|
||||
@@ -97,7 +97,7 @@ const RenderLinkAnnotation = ({ name, value }) => {
|
||||
href={value}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="text-nowrap text-truncate badge badge-secondary mr-1"
|
||||
className="components-label-with-hover text-nowrap text-truncate badge badge-secondary mr-1"
|
||||
>
|
||||
<FontAwesomeIcon icon={faExternalLinkAlt} /> {name}
|
||||
</a>
|
||||
|
||||
@@ -57,7 +57,7 @@ exports[`<GroupFooter /> matches snapshot 1`] = `
|
||||
<a href=\\"http://link.example.com\\"
|
||||
target=\\"_blank\\"
|
||||
rel=\\"noopener noreferrer\\"
|
||||
class=\\"text-nowrap text-truncate badge badge-secondary mr-1\\"
|
||||
class=\\"components-label-with-hover text-nowrap text-truncate badge badge-secondary mr-1\\"
|
||||
>
|
||||
<svg aria-hidden=\\"true\\"
|
||||
data-prefix=\\"fas\\"
|
||||
|
||||
Reference in New Issue
Block a user