Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/iobis/hackathon
Browse files Browse the repository at this point in the history
  • Loading branch information
silasprincipe committed Oct 9, 2024
2 parents 6cf40e9 + 7add3d5 commit 69f5323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/render_and_screenshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def capture_screenshot(html_content, output_path):

driver.get(f"file://{os.path.abspath('temp.html')}")
time.sleep(2) # Allow time for rendering
driver.set_window_size(1200, 2000)
driver.set_window_size(1200, 1000)
driver.save_screenshot(output_path)
driver.quit()
os.remove("temp.html")
Expand Down

0 comments on commit 69f5323

Please sign in to comment.