icons: icon.html draws a fixed box at the requested size (?s=512) so the runner's screenshot crop is exact
shots / shots (push) Successful in 2m21s
shots / shots (push) Successful in 2m21s
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K6897PWcUEwHiqZMcVnNF6
This commit is contained in:
1 parent
6d0e980662
commit
42d68a2a4c
2 files changed
+10
-8
No files matched your search
+3
-2
@@ -1,5 +1,6 @@
|
||||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title>icon</title>
|
||||
<style>html,body{margin:0;height:100%;background:#0b0b0e;overflow:hidden}img{display:block;width:100vmin;height:100vmin}</style>
|
||||
<img src="icon.svg" alt="">
|
||||
<style>html,body{margin:0;background:#0b0b0e;overflow:hidden}img{position:absolute;left:0;top:0;display:block}</style>
|
||||
<img id="i" src="icon.svg" alt="">
|
||||
<script>const s=+new URLSearchParams(location.search).get("s")||512;const i=document.getElementById("i");i.width=s;i.height=s;i.style.width=i.style.height=s+"px";</script>
|
||||
Reference in new issue
Block a user