Search: Refine clear tags UI #51590 (#51592)

(cherry picked from commit b0f1d35708)

Co-authored-by: Nathan Marrs <nathanielmarrs@gmail.com>
This commit is contained in:
Grot (@grafanabot)
2022-06-29 14:34:34 -04:00
committed by GitHub
co-authored by Nathan Marrs
parent f9724ef34c
commit 3c3f3a498a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -3521,7 +3521,7 @@ exports[`better eslint`] = {
[8, 12, 3, "Unexpected any. Specify a different type.", "193409811"],
[11, 53, 3, "Unexpected any. Specify a different type.", "193409811"]
],
"public/app/core/components/TagFilter/TagFilter.tsx:818083657": [
"public/app/core/components/TagFilter/TagFilter.tsx:2477083789": [
[35, 30, 3, "Unexpected any. Specify a different type.", "193409811"],
[109, 32, 3, "Unexpected any. Specify a different type.", "193409811"],
[132, 24, 3, "Unexpected any. Specify a different type.", "193409811"],
@@ -161,7 +161,7 @@ export const TagFilter: FC<Props> = ({
return (
<div className={styles.tagFilter}>
{isClearable && tags.length > 0 && (
<span className={styles.clear} onClick={() => onTagChange([])}>
<span className={styles.clear} onClick={() => onTagChange([])} tabIndex={0}>
Clear tags
</span>
)}
@@ -187,7 +187,7 @@ const getStyles = (theme: GrafanaTheme2) => ({
text-decoration: underline;
font-size: 12px;
position: absolute;
top: -22px;
top: -17px;
right: 0;
cursor: pointer;
color: ${theme.colors.text.secondary};