Update card width to max-w-2xl and iframe animation height to 360px. Adjust demo streak data in database seed.

This commit is contained in:
2026-07-10 14:40:57 +05:30
parent 89c704c02c
commit ebc552a8ca
4 changed files with 9 additions and 9 deletions

View File

@@ -20,7 +20,7 @@ def port_html():
display: none !important;
}
.stage {
height: 280px !important;
height: 360px !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 190px
html = html.replace("--badge:230px;", "--badge:190px;")
# 5. Adjust badge size from 230px to 220px
html = html.replace("--badge:230px;", "--badge:220px;")
with open(dest_path, 'w', encoding='utf-8') as f:
f.write(html)