Fix colour for 'Posted' text in dark mode

This commit is contained in:
Oliver Davies 2020-12-16 20:28:37 +00:00
parent 889f7fa8bb
commit c3b5763adf
2 changed files with 5 additions and 5 deletions

View file

@ -44,12 +44,12 @@
{% if multiple %}
<div{{ attributes }}>
{% for item in items %}
<div{{ item.attributes.addClass('prose dark:prose-dark max-w-none') }}>{{ item.content }}</div>
<div{{ item.attributes }}>{{ item.content }}</div>
{% endfor %}
</div>
{% else %}
{% for item in items %}
<div{{ attributes.addClass('prose dark:prose-dark max-w-none') }}>{{ item.content }}</div>
<div{{ attributes }}>{{ item.content }}</div>
{% endfor %}
{% endif %}
{% else %}
@ -59,7 +59,7 @@
<div>
{% endif %}
{% for item in items %}
<div{{ item.attributes.addClass('prose dark:prose-dark max-w-none') }}>{{ item.content }}</div>
<div{{ item.attributes }}>{{ item.content }}</div>
{% endfor %}
{% if multiple %}
</div>

View file

@ -70,7 +70,7 @@
* in different view modes.
*/
#}
<article{{ attributes.addClass('node') }}>
<article{{ attributes.addClass('node min-w-full prose dark:prose-dark') }}>
{{ title_prefix }}
{% if not page %}
@ -83,7 +83,7 @@
{% if display_submitted and view_mode == 'full' %}
<footer>
{{ author_picture }}
<div{{ author_attributes.addClass('mb-4 text-gray-700') }}>
<div{{ author_attributes.addClass('mb-4') }}>
{% trans %}Posted on {{ date }}{% endtrans %}
{{ metadata }}
</div>