Search: Refine clear tags UI #51590

This commit is contained in:
Nathan Marrs 2022-06-29 11:16:49 -07:00 committed by GitHub
parent 35240f6d5a
commit b0f1d35708
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -3401,7 +3401,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"],

View File

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