Skip to content

Commit

Permalink
fix: safari issues (#458)
Browse files Browse the repository at this point in the history
* fix: svg scaling in safari

* fix: safari image aspect ratio and partners icons

Co-authored-by: Yaël GUILLOUX <yael.guilloux@gmail.com>
  • Loading branch information
bdrtsky and Tahul authored Jun 17, 2021
1 parent 4af4899 commit 75e37a6
Show file tree
Hide file tree
Showing 17 changed files with 23 additions and 17 deletions.
8 changes: 7 additions & 1 deletion nuxtjs.org/components/HomeCampfire.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@
<template #content>
<ul class="grid grid-cols-1 sm:grid-cols-2 gap-16 sm:gap-8 lg:gap-16 py-8">
<li v-for="post in posts" :key="post.title" class="flex flex-col self-start">
<img :src="post.imgUrl" class="mb-4 h-2/3 rounded-lg" :alt="post.title" />
<NuxtLink :to="post.to">
<div
class="aspect-w-16 aspect-h-9 bg-gray-100 overflow-hidden dark:bg-secondary-darker mb-4 rounded-lg"
>
<NuxtImg :src="post.imgUrl" width="864" height="378" :alt="post.title" />
</div>
</NuxtLink>
<span class="text-cloud-light text-body-base lg:text-body-lg font-bold mb-2">{{ post.category }}</span>
<h3 class="text-body-xl lg:text-body-2xl font-bold mb-2">{{ post.title }}</h3>
<p class="mb-4 text-body-base lg:text-body-lg">{{ post.description }}</p>
Expand Down
2 changes: 1 addition & 1 deletion nuxtjs.org/static/img/footer/dark/landscape.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion nuxtjs.org/static/img/footer/light/landscape.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

1 comment on commit 75e37a6

@vercel
Copy link

@vercel vercel bot commented on 75e37a6 Jun 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.