zbb 1 tydzień temu
rodzic
commit
7f326fbdf4
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      utils/poster.js

+ 2 - 2
utils/poster.js

@@ -5,7 +5,7 @@
  */
 
 const W = 750
-const H = 780
+const H = 820
 const PADDING = 40
 
 const roundRect = (ctx, x, y, w, h, r) => {
@@ -201,7 +201,7 @@ export const generateCardPoster = async (cardInfo = {}, qrInfo = {}) => {
 
 				// ===== 3. 白色卡片 =====
 				const cardX = PADDING, cardY = 60
-				const cardW = W - PADDING * 2, cardH = 760
+				const cardW = W - PADDING * 2, cardH = 700
 				ctx.save()
 				ctx.shadowColor = 'rgba(0,0,0,0.08)'
 				ctx.shadowBlur = 24