Change the styling a bot for the sub-list headings

So it looks different to the main list headings in mobile view.
Not ideal.. but maybe better?
This commit is contained in:
Christoph Reiter
2024-07-23 17:41:28 +02:00
parent c81a8e797e
commit 4fd8eb8cc3
2 changed files with 5 additions and 5 deletions

View File

@@ -71,8 +71,8 @@
<dd class="col-sm-9">
<dl class="row mb-0">
{% for ext_id, info in s.external_infos %}
<dt>{{ ext_id.name }}</dt>
<dd class="mb-1">
<dt class="text-muted small">{{ ext_id.name }}</dt>
<dd>
<a href="{{ info.url }}">{{ info.version or info.name }}</a>
{% for url, label in info.other_urls|dictsort %}
| <a href="{{ url }}">{{ label }}</a>
@@ -104,7 +104,7 @@
<dd class="col-sm-9">
<dl class="row mb-0">
{% for repo, packages in s.packages|group_by_repo|dictsort(false) %}
<dt>{{ repo }}</dt>
<dt class="text-muted small">{{ repo }}</dt>
<dd>
<ul class="list-unstyled mb-0">
{% for p in packages %}

View File

@@ -65,8 +65,8 @@
<dd class="col-sm-9">
<dl class="row mb-0">
{% for ext_id, info in s.external_infos %}
<dt>{{ ext_id.name }}</dt>
<dd class="mb-1">
<dt class="text-muted small">{{ ext_id.name }}</dt>
<dd>
<a href="{{ info.url }}">{{ info.version or info.name }}</a>
{% for url, label in info.other_urls|dictsort %}
| <a href="{{ url }}">{{ label }}</a>