diff options
| author | user@node5.net <user@node5.net> | 2025-08-23 23:14:59 +0200 |
|---|---|---|
| committer | user@node5.net <user@node5.net> | 2025-08-23 23:14:59 +0200 |
| commit | 22ed3f99e7b65c0958d9be0feea8c3ed7c37400a (patch) | |
| tree | 03beb8f2a682c488107f7887751d0792cbfcbb2a | |
| parent | 8b452cbc00fb10684a0f75c0430495dee84b8740 (diff) | |
Folder article no img text inline with one with img
| -rw-r--r-- | blog.node5.net/static/folder.css | 2 | ||||
| -rw-r--r-- | blog.node5.net/templates/folder.html | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/blog.node5.net/static/folder.css b/blog.node5.net/static/folder.css index af66f99..a66bfb7 100644 --- a/blog.node5.net/static/folder.css +++ b/blog.node5.net/static/folder.css @@ -9,6 +9,7 @@ .entry-text { display: flex; + margin-left: 1em; } .description { @@ -23,7 +24,6 @@ ol { font-size: 2em; width: 200px; float: left; - margin-right: 1em; text-align: center; } diff --git a/blog.node5.net/templates/folder.html b/blog.node5.net/templates/folder.html index 409b4bf..4f93862 100644 --- a/blog.node5.net/templates/folder.html +++ b/blog.node5.net/templates/folder.html @@ -10,6 +10,8 @@ <a href="{{ article.name }}"> {% if article.folder_path %} <img src="{{ article.thumbnail_path }}" alt="📄"/> + {% else %} + <div style="width: 200px"></div> {% endif %} <div class="entry-text"> <div> |
