Skip to content

Commit

Permalink
fix(StreamList): Fix stream lists with new button design
Browse files Browse the repository at this point in the history
[fixes #131910355]

Signed-off-by: Ryan Dy <rdy@pivotal.io>
  • Loading branch information
charleshansen authored and rdy committed Oct 7, 2016
1 parent 2593a77 commit c7435ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions library/src/pivotal-ui-react/stream-list/stream-list.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import {UIButton} from 'pui-react-buttons';
import {DefaultButton} from 'pui-react-buttons';
import {GroupList, ListItem} from 'pui-react-lists';
import mixin from 'pui-react-mixins';
import Animation from 'pui-react-mixins/mixins/animation_mixin';
Expand All @@ -14,11 +14,11 @@ class StreamListNewItemsButton extends React.Component {

render() {
return (
<UIButton className="btn-default list-stream-new-items-btn"
<DefaultButton flat className="list-stream-new-items-btn"
onClick={this.props.showNewItems}>
{`${this.props.numNewItems} ${this.props.numNewItems === 1 ?
this.props.singularNewItemText : this.props.pluralNewItemsText}`}
</UIButton>
</DefaultButton>
);
}
}
Expand Down
1 change: 1 addition & 0 deletions library/src/pivotal-ui/components/lists/lists.scss
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ This section contains different list behaviors. See [lists][list] to see differe
border-radius: 0;
border-top: 1px solid $list-group-border;
box-shadow: 0px -1px $shadow-4;
justify-content: center;

&:hover {
background-color: darken($neutral-10, 20%);
Expand Down

0 comments on commit c7435ff

Please sign in to comment.