aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--newspipe/web/templates/home.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/newspipe/web/templates/home.html b/newspipe/web/templates/home.html
index 73ed3f64..915cc333 100644
--- a/newspipe/web/templates/home.html
+++ b/newspipe/web/templates/home.html
@@ -14,7 +14,7 @@
</div>
{% else %}
<div class="row">
- <div id="sidebar" class="col-3 d-none d-lg-block">
+ <div id="sidebar" class="col-2 d-none d-lg-block">
<ul class="nav flex-column" data-offset-top="0" data-offset-bottom="0" style="min-height: 650px;">
<li class="nav-item"><a class="nav-link" href="{{ gen_url(feed=0) }}">
{% if not feed_id %}<b>{% endif %}
@@ -29,7 +29,7 @@
<span style="background-color: {{ "red" if in_error[fid] > 2 else "orange" }} ;" class="badge pull-right" title="Some errors occured while trying to retrieve that feed.">{{ in_error[fid] }}</span>
{% endif %}
<span id="unread-{{ fid }}" class="badge pull-right">{{ nbunread }}</span>
- {{ feeds[fid]|safe }}
+ {{ feeds[fid] | safe | truncate(25, True) }}
{% if feed_id == fid %}</b>{% endif %}
</a></li>
<li class="nav-item feed-commands"><span class="nav-link">
@@ -46,7 +46,7 @@
<span style="background-color: {{ "red" if in_error[fid] > 2 else "orange" }} ;" class="badge pull-right" title="Some errors occured while trying to retrieve that feed.">{{ in_error[fid] }}</span>
{% endif %}
{% if feed_id == fid %}<b>{% endif %}
- {{ ftitle|safe }}
+ {{ ftitle | safe | truncate(25, True) }}
{% if feed_id == fid %}</b>{% endif %}
</a></li>
<li class="nav-item feed-commands"><span class="nav-link">
@@ -59,7 +59,7 @@
{% endfor %}
</ul>
</div>
- <div class="col-md-12 col-lg-9">
+ <div class="col-md-12 col-lg-10">
<div id="filters" data-filter="{{ filter_ }}">
<ul class="nav nav-tabs ml-auto">
<li id="tab-all" class="nav-item">
@@ -74,7 +74,7 @@
<li id="tab-unread" class="px-5 nav-item">
<a class="nav-link {% if liked %}active{% endif %}" href="{{ gen_url(liked=not liked) }}"><i class="fa fa-heart" aria-hidden="true"></i>&nbsp;{{ _('Liked') }}</a>
</li>
- <li id="tab-nbdisplay" class="px-5 nav-item">
+ <li id="tab-nbdisplay" class="px-5 nav-item d-none d-lg-block">
<div id="nbdisplay">
<a href="{{ gen_url(limit=10) }}" class="badge {% if limit == 10 %}badge-primary{% else %}badge-info{% endif %}">{{ _(10) }}</a>
<a href="{{ gen_url(limit=100) }}" class="badge {% if limit == 100 %}badge-primary{% else %}badge-info{% endif %}">{{ _(100) }}</a>
bgstack15