fix(ui): annotation should have same hover style as other elements using badge class

This commit is contained in:
Łukasz Mierzwa
2018-09-08 19:14:02 +01:00
parent f1d901b2de
commit e526095f6e
4 changed files with 4 additions and 4 deletions

View File

@@ -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\\"

View File

@@ -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\\"

View File

@@ -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>

View File

@@ -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\\"