Skip to content

Commit

Permalink
Change the styling a bot for the sub-list headings
Browse files Browse the repository at this point in the history
So it looks different to the main list headings in mobile view.
Not ideal.. but maybe better?
  • Loading branch information
lazka committed Jul 23, 2024
1 parent c81a8e7 commit 4fd8eb8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions app/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ <h4 class="card-title">Base Package: <a href="{{ s.name }}">{{ s.name }}</a></h4
<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>
Expand Down Expand Up @@ -104,7 +104,7 @@ <h4 class="card-title">Base Package: <a href="{{ s.name }}">{{ s.name }}</a></h4
<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 %}
Expand Down
4 changes: 2 additions & 2 deletions app/templates/package.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ <h4 class="card-title">Package: <a href="{{ package_url(p) }}">{{ p.name }}</a><
<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>
Expand Down

1 comment on commit 4fd8eb8

@ognevny
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, thanks

Please sign in to comment.