Browse Source

Chop off long group/node names to avoid horizontal scrolling

master
Johann Schmitz 4 years ago
parent
commit
a67a2b7c8a
Signed by: ercpe GPG Key ID: A084064277C501ED
  1. 4
      djunin/static/site.css
  2. 2
      djunin/templates/djunin/node_list.html

4
djunin/static/site.css

@ -185,9 +185,11 @@ a.nav-group-node { font-size: 12px; padding-top: 7px !important; padding-bottom:
.datarow-current { text-align: right; padding-right: 0px; }
@media (max-width: 768px) {
.main h1.page-header { font-size: 26px; }
.main h1.page-header { font-size: 26px; overflow: hidden; }
.main ul { padding-left: 20px; }
.node-title { overflow: hidden; }
}

2
djunin/templates/djunin/node_list.html

@ -3,7 +3,7 @@
{% block content %}
{% regroup nodes by group as grouped_nodes %}
{% for group in grouped_nodes %}
<h2>{{group.grouper}}</h2>
<h2 class="node-title">{{group.grouper}}</h2>
<ul>
{% for node in group.list %}
<li>