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

Commit

Permalink
Fix styles on shell workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
PatoBeltran committed Nov 11, 2019
1 parent f787845 commit d8e155f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 7.0.1
### Fixed
- Added role='main' and background color to shell workspace

## 7.0.0
- Adopted fluent styles

Expand Down
2 changes: 2 additions & 0 deletions lib/components/Shell/Shell.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,6 @@

// Make sure this is now the main element to position all children
position: relative;

background-color: var(--color-bg-container);
}
2 changes: 1 addition & 1 deletion lib/components/Shell/Shell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function Shell({ theme, masthead, navigation, children, onClick }: ShellP
{masthead && <Masthead navigation={navigation} {...masthead} />}
<div className={css('nav-and-workspace')}>
{navigation && <Navigation {...navigation} />}
<section className={css('workspace')}>
<section role='main' className={css('workspace')}>
{children}
</section>
<ContextPanelRoot />
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": "7.0.0",
"version": "7.0.1",
"description": "Azure IoT UX Fluent Controls",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand Down

0 comments on commit d8e155f

Please sign in to comment.