diff --git a/webapp/components/PostTeaser/PostTeaser.vue b/webapp/components/PostTeaser/PostTeaser.vue
index 7eb5fa87c..228c4c90c 100644
--- a/webapp/components/PostTeaser/PostTeaser.vue
+++ b/webapp/components/PostTeaser/PostTeaser.vue
@@ -15,7 +15,13 @@
-
+
+
+
+
{{ post.title }}
@@ -73,10 +79,6 @@
-
@@ -192,19 +194,38 @@ export default {
display: block;
height: 100%;
color: $text-color-base;
+}
- > .ribbon {
+.post-user-row {
+ position: relative;
+
+ > .post-ribbon-w-img {
position: absolute;
- top: 50%;
- right: -7px;
+ // 14px (~height of ribbon element) + 24px(=margin of hero image)
+ top: -38px;
+ // 7px+24px(=padding of parent)
+ right: -31px;
+ }
+ > .post-ribbon {
+ position: absolute;
+ // 14px (~height of ribbon element) + 24px(=margin of hero image)
+ top: -24px;
+ // 7px(=offset)+24px(=margin of parent)
+ right: -31px;
}
}
.post-teaser > .base-card {
display: flex;
flex-direction: column;
+ overflow: visible;
height: 100%;
+ > .hero-image {
+ border-top-left-radius: 5px;
+ border-top-right-radius: 5px;
+ }
+
&.--blur-image > .hero-image > .image {
filter: blur($blur-radius);
}