increase sidebar width to 600px

master
Aevann 2024-02-10 17:06:00 +02:00
parent 59d83a9dd1
commit 9797c57a7a
2 changed files with 2 additions and 2 deletions

View File

@ -205,7 +205,7 @@ def comment(v):
process_image(filename, v, resize=resize)
if post_target.id == SIDEBAR_THREAD:
process_sidebar_or_banner('sidebar', 400)
process_sidebar_or_banner('sidebar', 600)
elif post_target.id == BANNER_THREAD:
banner_width = 1600
process_sidebar_or_banner('banners', banner_width)

View File

@ -532,7 +532,7 @@ def upload_hole_sidebar(v, hole):
name = f'/images/{time.time()}'.replace('.','') + '.webp'
file.save(name)
sidebarurl = process_image(name, v, resize=400)
sidebarurl = process_image(name, v, resize=600)
hole.sidebarurls.append(sidebarurl)