forked from MarseyWorld/MarseyWorld
increase sidebar width to 600px
parent
59d83a9dd1
commit
9797c57a7a
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue