From fb0757c378200c956822a294d5616446755e061c Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Sun, 5 Dec 2021 01:59:43 -0500 Subject: [PATCH] [S] Style images --- src/views/Blog.vue | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/views/Blog.vue b/src/views/Blog.vue index 3a455ee..fa6b882 100644 --- a/src/views/Blog.vue +++ b/src/views/Blog.vue @@ -60,6 +60,7 @@ export default class Blog extends Vue this.posts = it this.posts.forEach(it => it.date = moment(it.date).format('YYYY-MM-DD h:mm')) this.posts.reverse() + this.posts = this.posts.filter(it => it.type !== 'service') console.log(it) }) } @@ -124,6 +125,23 @@ export default class Blog extends Vue border: 2px solid lighten($color-text-main, 20) border-radius: 2px + .reply + .images + margin: 0 -20px 10px + + .images + margin: -20px -20px 10px + display: flex + + .img + flex: 1 + height: 200px + width: 200px + background-size: cover + + margin-right: 10px + .img:last-child + margin-right: 0 + .text white-space: pre-line