OzoneAsai commited on
Commit
6c609c5
·
verified ·
1 Parent(s): e3deb89

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +1 -1
templates/index.html CHANGED
@@ -30,7 +30,7 @@
30
  const flashcardWidth = flashcard.offsetWidth;
31
 
32
  // スケールを計算して適用
33
- const scale = windowWidth / flashcardWidth;
34
  flashcard.style.transform = `scale(${scale})`;
35
  }
36
 
 
30
  const flashcardWidth = flashcard.offsetWidth;
31
 
32
  // スケールを計算して適用
33
+ const scale = windowWidth / flashcardWidth-0.2;
34
  flashcard.style.transform = `scale(${scale})`;
35
  }
36