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

View file

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