aboutsummaryrefslogtreecommitdiff
path: root/src/web/js
diff options
context:
space:
mode:
authorFrançois Schmidts <francois.schmidts@gmail.com>2016-01-31 16:59:04 +0100
committerFrançois Schmidts <francois.schmidts@gmail.com>2016-01-31 16:59:04 +0100
commiteb74eca67026a62dac5d0f8cf92111fad6c73648 (patch)
tree5a3e6026172ad85a0b4c0267c859fd65edfcbf9c /src/web/js
parentreset scrolling when setting right panel (diff)
downloadnewspipe-eb74eca67026a62dac5d0f8cf92111fad6c73648.tar.gz
newspipe-eb74eca67026a62dac5d0f8cf92111fad6c73648.tar.bz2
newspipe-eb74eca67026a62dac5d0f8cf92111fad6c73648.zip
fixing breadcrum height
Diffstat (limited to 'src/web/js')
-rw-r--r--src/web/js/components/RightPanel.react.js20
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}
bgstack15