aboutsummaryrefslogtreecommitdiff
path: root/blog.node5.net
diff options
context:
space:
mode:
authoruser@node5.net <user@node5.net>2025-08-23 23:14:59 +0200
committeruser@node5.net <user@node5.net>2025-08-23 23:14:59 +0200
commit22ed3f99e7b65c0958d9be0feea8c3ed7c37400a (patch)
tree03beb8f2a682c488107f7887751d0792cbfcbb2a /blog.node5.net
parent8b452cbc00fb10684a0f75c0430495dee84b8740 (diff)
Folder article no img text inline with one with img
Diffstat (limited to 'blog.node5.net')
-rw-r--r--blog.node5.net/static/folder.css2
-rw-r--r--blog.node5.net/templates/folder.html2
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>