diff --git a/packages/components/src/components/abbr/shadow.tsx b/packages/components/src/components/abbr/shadow.tsx index 6a4fe8c5f3..520ff1198e 100644 --- a/packages/components/src/components/abbr/shadow.tsx +++ b/packages/components/src/components/abbr/shadow.tsx @@ -22,9 +22,9 @@ export class KolAbbr implements AbbrAPI { public render(): JSX.Element { return ( - + {/* eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex */} - + diff --git a/packages/components/src/components/abbr/style.scss b/packages/components/src/components/abbr/style.scss index 101258ee1f..95e6935823 100644 --- a/packages/components/src/components/abbr/style.scss +++ b/packages/components/src/components/abbr/style.scss @@ -2,12 +2,8 @@ @import '../style'; @layer kol-component { - :host { - font-size: rem(16); - } .kol-abbr { - &__abbr { - cursor: help; - } + font-size: rem(16); + cursor: help; } } diff --git a/packages/components/src/components/abbr/test/__snapshots__/snapshot.spec.tsx.snap b/packages/components/src/components/abbr/test/__snapshots__/snapshot.spec.tsx.snap index d642591e94..c2e4657fb6 100644 --- a/packages/components/src/components/abbr/test/__snapshots__/snapshot.spec.tsx.snap +++ b/packages/components/src/components/abbr/test/__snapshots__/snapshot.spec.tsx.snap @@ -1,9 +1,9 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`kol-abbr should render with _label="Text" _tooltipAlign="bottom" 1`] = ` - +