Skip to content

Commit

Permalink
Switch from #panel-group to .panel-group.
Browse files Browse the repository at this point in the history
  • Loading branch information
flachware committed May 5, 2017
1 parent c3b003b commit b440140
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ class PanelGroup extends PureComponent {

render() {
return (
<div id="panel-group">
<div className="panel-group">
<header className="panel-group-header">
{this.props.header}
</header>
Expand Down
2 changes: 1 addition & 1 deletion src/stylesheets/components/_panel-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Panels
// --------------------------------------------------

#panel-group {
.panel-group {
display: flex;
flex-direction: column;
height: 100%;
Expand Down
4 changes: 2 additions & 2 deletions test/components/panel_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const { shallow } = require('enzyme')
describe('PanelGroup', () => {
const { PanelGroup } = __require('components/panel')

it('has id panel-group', () => {
expect(shallow(<PanelGroup slots={[]}/>)).to.have.id('panel-group')
it('has class panel-group', () => {
expect(shallow(<PanelGroup slots={[]}/>)).to.have.className('panel-group')
})
})

0 comments on commit b440140

Please sign in to comment.