diff --git a/app/static/styles.css b/app/static/styles.css index 41c86ecb..059b380d 100644 --- a/app/static/styles.css +++ b/app/static/styles.css @@ -783,11 +783,9 @@ div.navbar { max-width: 78%; } .post_list .post_teaser .col_thumbnail { + float: right; width: 70px; position: relative; - padding-left: 0; - padding-right: 0; - left: -13px; } @media (min-width: 992px) { .post_list .post_teaser .col_thumbnail { diff --git a/app/static/styles.scss b/app/static/styles.scss index 896523d9..3e5c8a43 100644 --- a/app/static/styles.scss +++ b/app/static/styles.scss @@ -369,11 +369,9 @@ div.navbar { } .col_thumbnail { + float: right; width: 70px; position: relative; - padding-left: 0; - padding-right: 0; - left: -13px; @include breakpoint(tablet) { width: 170px; } diff --git a/app/templates/post/post_teaser/_article.html b/app/templates/post/post_teaser/_article.html index f5c07503..6c89804d 100644 --- a/app/templates/post/post_teaser/_article.html +++ b/app/templates/post/post_teaser/_article.html @@ -1,4 +1,15 @@
+ {% if post.image_id -%} + + {% endif -%} + {% include "post/post_teaser/_title.html" %} {% if post.body_html -%}
@@ -7,15 +18,3 @@ {% endif -%} {% include "post/post_teaser/_utilities_bar.html" %}
-{% if post.image_id -%} -
- -
-{% endif -%} diff --git a/app/templates/post/post_teaser/_link.html b/app/templates/post/post_teaser/_link.html index f54e044f..57aa9951 100644 --- a/app/templates/post/post_teaser/_link.html +++ b/app/templates/post/post_teaser/_link.html @@ -1,4 +1,14 @@
+ {% if post.image_id -%} + + {% endif -%} {% include "post/post_teaser/_title.html" %} {% if post.body_html -%} -{% if post.image_id -%} -
- -
-{% endif -%} diff --git a/app/templates/post/post_teaser/_poll.html b/app/templates/post/post_teaser/_poll.html index da319110..85a42132 100644 --- a/app/templates/post/post_teaser/_poll.html +++ b/app/templates/post/post_teaser/_poll.html @@ -1,15 +1,6 @@ -
{% if post.image_id -%} -