aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>