From eb74eca67026a62dac5d0f8cf92111fad6c73648 Mon Sep 17 00:00:00 2001 From: François Schmidts Date: Sun, 31 Jan 2016 16:59:04 +0100 Subject: fixing breadcrum height --- src/web/js/components/RightPanel.react.js | 20 ++++++++++++-------- src/web/static/css/one-page-app.css | 14 +++++++++++--- src/web/templates/home.html | 4 ++-- 3 files changed, 25 insertions(+), 13 deletions(-) (limited to 'src') 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 = (
  • - {this.state.category.name} -
  • ); + brd_category = (
  • + + {this.state.category.name} + +
  • ); } if(this.state.feed) { - brd_feed = (
  • - {this.state.feed.title} -
  • ); + brd_feed = (
  • + + {this.state.feed.title} + +
  • ); } if(this.state.article) { - brd_article =
  • {this.state.article.title}
  • ; + brd_article =
  • {this.state.article.title}
  • ; } if(brd_category || brd_feed || brd_article) { - breadcrum = (
      + breadcrum = (
        {brd_category} {brd_feed} {brd_article} diff --git a/src/web/static/css/one-page-app.css b/src/web/static/css/one-page-app.css index d919a4f7..40f7cd45 100644 --- a/src/web/static/css/one-page-app.css +++ b/src/web/static/css/one-page-app.css @@ -121,8 +121,18 @@ top: 2px; right: 4px; } -#right-panel>ol{ +#right-panel { + top: 50px; +} +#rp-breadcrum{ margin-top: 10px; + max-height: 34px; + overflow: hidden; + padding-top: 2px; +} +#rp-breadcrum>li{ + display: inline; + line-height: 30px; } #right-panel .panel-body img { max-width: 100%; @@ -153,5 +163,3 @@ .filter-row>input.form-control { width: auto; } -#filter-button-row>*{ -} diff --git a/src/web/templates/home.html b/src/web/templates/home.html index 4389ae6f..c2966be7 100644 --- a/src/web/templates/home.html +++ b/src/web/templates/home.html @@ -8,11 +8,11 @@ JARR{% if head_titles %} - {{ ' - '.join(head_titles) }}{% endif %} - - + + {% endblock %} -- cgit