Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving loader to logo in header, add a slight 250ms pause #78879

Merged
merged 14 commits into from
Oct 16, 2020

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

231 changes: 125 additions & 106 deletions src/core/public/chrome/ui/header/__snapshots__/header.test.tsx.snap

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

9 changes: 9 additions & 0 deletions src/core/public/chrome/ui/header/elastic_mark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/core/public/chrome/ui/header/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ export function Header({
forceNavigation$={observables.forceAppSwitcherNavigation$}
navLinks$={observables.navLinks$}
navigateToApp={application.navigateToApp}
loadingCount$={observables.loadingCount$}
/>,
<LoadingIndicator loadingCount$={observables.loadingCount$} />,
],
borders: 'none',
},
Expand Down
12 changes: 12 additions & 0 deletions src/core/public/chrome/ui/header/header_logo.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.chrHeaderLogo {
height: $euiHeaderChildSize;
padding: 0 $euiSizeM;
display: inline-flex;
align-items: center;
vertical-align: middle;
white-space: nowrap;
}

.chrHeaderLogo__mark {
margin-left: $euiSizeS;
}
Loading