Update streak onboarding card size to w-[80vw] h-[80vh] and background color of animation and greetings panels to solid black

This commit is contained in:
2026-07-10 16:08:59 +05:30
parent ebc552a8ca
commit f15c260cae
3 changed files with 40 additions and 38 deletions

View File

@@ -20,7 +20,7 @@ def port_html():
display: none !important;
}
.stage {
height: 360px !important;
height: 100vh !important;
width: 100% !important;
max-width: 100% !important;
padding: 0 !important;
@@ -59,8 +59,8 @@ def port_html():
html = html.replace("Math.max(target,5)/5", "Math.max(target,3)/3")
html = html.replace("(4 - target) / 3", "(3 - target) / 3")
# 5. Adjust badge size from 230px to 220px
html = html.replace("--badge:230px;", "--badge:220px;")
# 5. Adjust badge size from 230px to 240px
html = html.replace("--badge:230px;", "--badge:240px;")
with open(dest_path, 'w', encoding='utf-8') as f:
f.write(html)