Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Commit

Permalink
Update global nav to use hamburger icon (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
PatoBeltran authored Aug 5, 2019
1 parent 1942eb1 commit 710b29e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 13 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## v6.3.5
### Changed
- Updated the global nav icon to be the hamburger icon and always have it aligned to the left.

## v6.3.4
### Fixed
- Fix DatePicker + DateTimeField to return empty string and set value to empty when the value is removed
Expand Down
10 changes: 0 additions & 10 deletions lib/components/Navigation/Navigation.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,6 @@

&.expanded {
width: $layout-nav-expanded-width;

.expand-icon {
width: 100%;
transform: rotate(180deg);
text-align: left;

@include rtl {
transform: none;
}
}
}

// don't show global-nav for small screens: it should be part of masthead instead.
Expand Down
2 changes: 1 addition & 1 deletion lib/components/Navigation/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function Navigation({ isExpanded, onClick, attr, children }: NavigationPr
onClick={onClick}
attr={attr && attr.navButton}
>
<span className={cx('expand-icon', 'global-nav-item-icon', 'icon', 'icon-chevronRight')} />
<span className={cx('global-nav-item-icon', 'icon', 'icon-globalNavButton')} />
</Attr.button>
<div className={cx('scrollable')}>
{children}
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft/azure-iot-ux-fluent-controls",
"version": "6.3.4",
"version": "6.3.5",
"description": "Azure IoT UX Fluent Controls",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand Down

0 comments on commit 710b29e

Please sign in to comment.