Skip to content

Commit 5cd7ff5

Browse files
authored
fix: date hierarchy styling (#879)
1 parent cce7d2e commit 5cd7ff5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/unfold/static/unfold/css/styles.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/unfold/templates/admin/date_hierarchy.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{% if show %}
2-
<div class="xfull mb-4">
3-
<ul class="toplinks flex -mx-2 text-gray-500 text-sm">
2+
<div class="mb-4">
3+
<ul class="toplinks flex -mx-2 text-sm">
44
{% block date-hierarchy-toplinks %}
55
{% block date-hierarchy-back %}
66
{% if back %}
77
<li class="date-back px-2">
8-
<a href="{{ back.link }}" class="flex items-center hover:text-primary-600">
9-
<span class="material-symbols-outlined md-16 mr-2 text-gray-400">arrow_back</span> {{ back.title }}
8+
<a href="{{ back.link }}" class="flex group items-center hover:text-primary-600 dark:hover:text-primary-500">
9+
<span class="material-symbols-outlined md-16 mr-2 text-gray-400 group-hover:text-primary-600 dark:group-hover:text-primary-500">arrow_back</span> {{ back.title }}
1010
</a>
1111
</li>
1212
{% endif %}
@@ -16,7 +16,7 @@
1616
{% for choice in choices %}
1717
<li class="px-2">
1818
{% if choice.link %}
19-
<a href="{{ choice.link }}" class="hover:text-primary-600">
19+
<a href="{{ choice.link }}" class="hover:text-primary-600 dark:hover:text-primary-500">
2020
{% endif %}
2121

2222
{{ choice.title }}

0 commit comments

Comments
 (0)