mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-11 14:41:17 +08:00
lowered the padding a bit
This commit is contained in:
parent
17f4d14896
commit
20fb0a3a6c
1 changed files with 2 additions and 2 deletions
|
|
@ -251,8 +251,8 @@ export async function screenshot() {
|
|||
$("#commandLineMobileButton").addClass("hidden");
|
||||
$(".pageTest .loginTip").addClass("hidden");
|
||||
try {
|
||||
let paddingX = 75;
|
||||
let paddingY = 50;
|
||||
let paddingX = 50;
|
||||
let paddingY = 25;
|
||||
html2canvas(document.body, {
|
||||
backgroundColor: await ThemeColors.get("bg"),
|
||||
width: sourceWidth + paddingX * 2,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue