diff --git a/devplacepy/static/css/projects.css b/devplacepy/static/css/projects.css index 409942ad..aa4cab89 100644 --- a/devplacepy/static/css/projects.css +++ b/devplacepy/static/css/projects.css @@ -305,6 +305,10 @@ margin-bottom: 1.5rem; } +.project-devlog { + margin-top: 1.5rem; +} + .project-section-label { font-size: 0.75rem; font-weight: 700; @@ -313,3 +317,4 @@ color: var(--text-muted); margin-bottom: 0.5rem; } + diff --git a/devplacepy/templates/project_detail.html b/devplacepy/templates/project_detail.html index df14fe10..93770cf5 100644 --- a/devplacepy/templates/project_detail.html +++ b/devplacepy/templates/project_detail.html @@ -108,11 +108,7 @@ {% for item in devlog_posts %} {% set _author = item.author %}{% set _time = item.time_ago %}{% set _show_share = false %}{% set _show_comment_form = false %}{% include "_post_card.html" %} {% endfor %} - {% if devlog_next_cursor %} -
- {% endif %} + {% set next_cursor = devlog_next_cursor %}{% include "_load_more.html" %} {% else %}No devlog posts yet.
{% endif %} @@ -202,3 +198,4 @@ if (actions) { {% endblock %} +