diff --git a/moku/static/css/moku.css b/moku/static/css/moku.css index 7639eff..27b60d6 100644 --- a/moku/static/css/moku.css +++ b/moku/static/css/moku.css @@ -96,6 +96,10 @@ a:hover, button.logout:hover { text-decoration: wavy underline; } +.user-content { + word-break: break-word; +} + .profile h2 { font-size: 1.8rem; font-weight: bold; @@ -347,7 +351,6 @@ header nav ul { .grid-content main article { padding: .8rem 1.8rem; border-left: 4px solid var(--tangerine); - word-break: break-word; display: grid; grid-template-columns: auto 1fr; column-gap: 1.2rem; diff --git a/moku/templates/moku/profile/show.jinja b/moku/templates/moku/profile/show.jinja index 680fc99..b0c83fd 100644 --- a/moku/templates/moku/profile/show.jinja +++ b/moku/templates/moku/profile/show.jinja @@ -13,19 +13,19 @@ {% if profile.pronouns %}
{% trans %}pronouns{% endtrans %}
-
{{ profile.pronouns }}
+
{{ profile.pronouns }}
{% endif %} {% if profile.location %}
{% trans %}location{% endtrans %}
-
{{ profile.location }}
+
{{ profile.location }}
{% endif %} {% if profile.bio %}
{% trans %}about me{% endtrans %}
-
+
{{ profile.bio_as_html()|safe }}
diff --git a/moku/templates/moku/snippets/post.jinja b/moku/templates/moku/snippets/post.jinja index 630f5fb..7e3042e 100644 --- a/moku/templates/moku/snippets/post.jinja +++ b/moku/templates/moku/snippets/post.jinja @@ -8,14 +8,14 @@ {% endif %}
{{ post.emoji }}
-

{{ post.text|safe }}

+

{{ post.text|safe }}

{{ post.created_at|naturaltime }}

{% if post.recipe %}
{% trans %}recipe{% endtrans %}
    {% for step in post.recipe.steps.all() %} -
  1. {{ step.instructions }}
  2. +
  3. {{ step.instructions }}
  4. {% endfor %}