diff --git a/public/css/styles.css b/public/css/styles.css index 9856211..f1adac1 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -107,7 +107,10 @@ body { height: 12em; } body div.page-contents div.description div.articles a article div.article-down-part { margin-top: 2em; - height: 9em; } + height: 9em; + display: flex; + align-items: end; + padding-bottom: 2em; } body div.page-contents div.description div.articles a article:hover { background: blueviolet; color: #f2eb8c; } diff --git a/public/css/styles.scss b/public/css/styles.scss index 945b634..f5f98b2 100644 --- a/public/css/styles.scss +++ b/public/css/styles.scss @@ -152,6 +152,9 @@ body { div.article-down-part { margin-top: 2em; height: 9em; + display: flex; + align-items: end; + padding-bottom: 2em; } padding: 5%; diff --git a/templates/page/_list_posts.html.ep b/templates/page/_list_posts.html.ep index 6fec6f4..5243efd 100644 --- a/templates/page/_list_posts.html.ep +++ b/templates/page/_list_posts.html.ep @@ -16,7 +16,7 @@ <% } - %>
<%=$text%>
-