diff options
author | François Schmidts <francois.schmidts@gmail.com> | 2016-01-31 16:59:04 +0100 |
---|---|---|
committer | François Schmidts <francois.schmidts@gmail.com> | 2016-01-31 16:59:04 +0100 |
commit | eb74eca67026a62dac5d0f8cf92111fad6c73648 (patch) | |
tree | 5a3e6026172ad85a0b4c0267c859fd65edfcbf9c /src/web/js/components | |
parent | reset scrolling when setting right panel (diff) | |
download | newspipe-eb74eca67026a62dac5d0f8cf92111fad6c73648.tar.gz newspipe-eb74eca67026a62dac5d0f8cf92111fad6c73648.tar.bz2 newspipe-eb74eca67026a62dac5d0f8cf92111fad6c73648.zip |
fixing breadcrum height
Diffstat (limited to 'src/web/js/components')
-rw-r--r-- | src/web/js/components/RightPanel.react.js | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/src/web/js/components/RightPanel.react.js b/src/web/js/components/RightPanel.react.js index 42f8f8ef..b8f78050 100644 --- a/src/web/js/components/RightPanel.react.js +++ b/src/web/js/components/RightPanel.react.js @@ -299,20 +299,24 @@ var RightPanel = React.createClass({ var brd_article = null; var breadcrum = null; if(this.state.category) { - brd_category = (<li><a onClick={this.selectCategory} href="#"> - {this.state.category.name} - </a></li>); + brd_category = (<li className="rp-crum"> + <a onClick={this.selectCategory} href="#"> + {this.state.category.name} + </a> + </li>); } if(this.state.feed) { - brd_feed = (<li><a onClick={this.selectFeed} href="#"> - {this.state.feed.title} - </a></li>); + brd_feed = (<li className="rp-crum"> + <a onClick={this.selectFeed} href="#"> + {this.state.feed.title} + </a> + </li>); } if(this.state.article) { - brd_article = <li>{this.state.article.title}</li>; + brd_article = <li className="rp-crum">{this.state.article.title}</li>; } if(brd_category || brd_feed || brd_article) { - breadcrum = (<ol className="breadcrumb"> + breadcrum = (<ol className="breadcrumb" id="rp-breadcrum"> {brd_category} {brd_feed} {brd_article} |