Skip to content

Commit

Permalink
fixes header logo width and updates drawer example
Browse files Browse the repository at this point in the history
  • Loading branch information
ryankeairns committed Jan 17, 2019
1 parent 49ae8ec commit 5e72524
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

- Added Inter UI to the font family stack ([#1402](https://github.com/elastic/eui/pull/1402))
- Changed padding on `EuiHeaderLogo` and updated `EuiNavDrawer` example ([#1448](https://github.com/elastic/eui/pull/1448))
- Updated `EuiNavDrawer` docs example and adjusted `EuiHeaderLogo` padding ([#1449](https://github.com/elastic/eui/pull/1449))

**Bug fixes**

Expand Down
11 changes: 6 additions & 5 deletions src-docs/src/views/nav_drawer/nav_drawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
EuiHeaderSectionItem,
EuiHeaderSectionItemButton,
EuiHeaderBreadcrumbs,
EuiHeaderLogo,
EuiIcon,
EuiTitle,
EuiNavDrawer,
Expand Down Expand Up @@ -401,11 +402,11 @@ export default class extends Component {

renderLogo() {
return (
<EuiHeaderSectionItemButton
aria-label="Go to home page"
>
<EuiIcon type="logoKibana" href="#" size="l" />
</EuiHeaderSectionItemButton>
<EuiHeaderLogo
iconType="logoKibana"
href="/#/layout/nav-drawer"
aria-label="Goes to home"
/>
);
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/header/_header_logo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
position: relative;
height: $euiHeaderChildSize;
line-height: $euiHeaderChildSize;
padding: 0 $euiSizeM;
padding: 0 ($euiSizeM + 1px) 0 $euiSizeM;
display: inline-block;
vertical-align: middle;
white-space: nowrap;
Expand Down

0 comments on commit 5e72524

Please sign in to comment.