aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-06-01 15:03:58 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-06-01 15:03:58 +0200
commitac49b3f986ffdafef8d7d93026d494b35bde2def (patch)
treedeb803bc4cda2346708102834fb75c9ebe72e770 /pyaggr3g470r/templates
parentHide the sidebar on small and extra small screens. (diff)
downloadnewspipe-ac49b3f986ffdafef8d7d93026d494b35bde2def.tar.gz
newspipe-ac49b3f986ffdafef8d7d93026d494b35bde2def.tar.bz2
newspipe-ac49b3f986ffdafef8d7d93026d494b35bde2def.zip
Autoscroll for the sidebar.
Diffstat (limited to 'pyaggr3g470r/templates')
-rw-r--r--pyaggr3g470r/templates/home.html4
-rw-r--r--pyaggr3g470r/templates/layout.html7
2 files changed, 7 insertions, 4 deletions
diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html
index 693da0c4..c1663997 100644
--- a/pyaggr3g470r/templates/home.html
+++ b/pyaggr3g470r/templates/home.html
@@ -2,8 +2,8 @@
{% block content %}
<div class="container-fluid">
<div classe="row">
- <div id="affix-nav" class="sidebar col-md-4 hidden-xs hidden-sm">
- <ul class="nav sidenav affix-top" data-spy="affix" data-offset-top="0" data-offset-bottom="0">
+ <div id="affix-nav" class="col-md-4 sidebar hidden-xs hidden-sm">
+ <ul class="nav sidenav affix affix-top" data-spy="affix" data-offset-top="0" data-offset-bottom="0">
{% for feed in result|sort(attribute="title")|sort(attribute="nb_unread", reverse=True) %}
<li>
<a href="#{{ feed.id }}">
diff --git a/pyaggr3g470r/templates/layout.html b/pyaggr3g470r/templates/layout.html
index d3162886..1e02ae6f 100644
--- a/pyaggr3g470r/templates/layout.html
+++ b/pyaggr3g470r/templates/layout.html
@@ -39,9 +39,12 @@ deployed on Heroku or on a traditional server." />
/* First level of nav */
.sidenav {
margin-top: 60px;
- margin-bottom: 30px;
+ margin-bottom: 0px;
padding-top: 10px;
- padding-bottom: 10px;
+ padding-bottom: 0px;
+ overflow-y: auto;
+ height: 90%;
+ z-index: 1000;
background-color: #ffffff;
border-radius: 2px;
font-size: 90%;
bgstack15