Skip to content

Commit

Permalink
Remove chrHeaderLogo className
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Nov 21, 2024
1 parent 8b027a0 commit 24f6977
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 7 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ export function HeaderLogo({ href, navigateToApp, loadingCount$, ...observables
return (
<a
onClick={(e) => onClick(e, forceNavigation, navLinks, navigateToApp)}
className="chrHeaderLogo"
css={styles.logoCss}
href={href}
data-test-subj="logo"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ export class LoadingIndicator extends React.Component<LoadingIndicatorProps, { v
type={'logoElastic'}
size="l"
data-test-subj={testSubj}
className="chrHeaderLogo__cluster"
aria-label={i18n.translate('core.ui.chrome.headerGlobalNav.logoAriaLabel', {
defaultMessage: 'Elastic Logo',
})}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export const focusUtilityBarAction = (containerElement: HTMLElement | null) => {
* Resets keyboard focus on the page
*/
export const resetKeyboardFocus = () => {
document.querySelector<HTMLAnchorElement>('header.headerGlobalNav a.chrHeaderLogo')?.focus();
document.body.focus();
};

interface OperatorHandler {
Expand Down

0 comments on commit 24f6977

Please sign in to comment.