From 36b232e594098affc8f37d3819b819831374a53b Mon Sep 17 00:00:00 2001 From: Mehdi Khalil Date: Sun, 12 May 2024 13:30:24 +0200 Subject: [PATCH 1/2] Fix: cache le logo dans l'export si fontSize = 0 --- .gitignore | 1 + components/youtube-video-card.tsx | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 10e85c1..47c1cdb 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,4 @@ yarn-error.log* # typescript *.tsbuildinfo next-env.d.ts +.vscode/launch.json diff --git a/components/youtube-video-card.tsx b/components/youtube-video-card.tsx index 4e74662..48e566c 100644 --- a/components/youtube-video-card.tsx +++ b/components/youtube-video-card.tsx @@ -115,6 +115,8 @@ export function YouTubeVideoCard({ borderRadius: "100%", width: `${scale.fontSize(2.6)}px`, height: `${scale.fontSize(2.6)}px`, + // Nécessaire pour l'export. Satori ne gère pas width: 0 + display: scale.fontSize(2.6) ? 'none' : 'block', }} /> )} From 90833d05dac59abb71da31d77d339a8ebb656faa Mon Sep 17 00:00:00 2001 From: Gabin Aureche Date: Mon, 13 May 2024 16:11:56 +0800 Subject: [PATCH 2/2] Update .gitignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 47c1cdb..221dd45 100644 --- a/.gitignore +++ b/.gitignore @@ -34,4 +34,6 @@ yarn-error.log* # typescript *.tsbuildinfo next-env.d.ts + +# vscode .vscode/launch.json