Skip to content

Commit

Permalink
fix: add correctly width home images
Browse files Browse the repository at this point in the history
  • Loading branch information
pablosirera committed Apr 25, 2021
1 parent d4b69d6 commit 3565776
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/home/ListPosts.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<img
:src="`https://res.cloudinary.com/de5xzoviz/image/upload/q_68/${post.image}`"
:alt="post.title"
class="rounded mr-3"
class="rounded mr-3 w-auto"
/>
<h4 class="text-left">{{ post.title }}</h4>
</nuxt-link>
Expand Down
2 changes: 1 addition & 1 deletion components/home/YoutubeVideos.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
:src="`https://i3.ytimg.com/vi/${video.shortId}/mqdefault.jpg`"
:alt="video.title"
loading="lazy"
class="w-40 h-24 rounded"
class="w-auto h-24 rounded"
/>
<h4 class="pl-3">{{ video.title }}</h4>
</a>
Expand Down

0 comments on commit 3565776

Please sign in to comment.