]> git.codecow.com Git - nano-pow.git/commitdiff
Set hash width.
authorChris Duncan <chris@codecow.com>
Fri, 31 Jul 2026 20:41:02 +0000 (13:41 -0700)
committerChris Duncan <chris@codecow.com>
Fri, 31 Jul 2026 20:41:02 +0000 (13:41 -0700)
test/index.html

index 8c14ffb00e2013240bb4dea61560730d196b204e..ad6e29a51cfefc29ded756af00fd6787e79d19c5 100644 (file)
@@ -332,8 +332,9 @@ SPDX-License-Identifier: GPL-3.0-or-later
                ol li{display:grid;gap:0.25em;grid-template-columns:auto 1fr;}
                ol li::before{content:counters(i,'.')'.';counter-increment:i;}
                ol li>ol{grid-column:2;}
+               .full-width{width:100%;}
                .warning::before{content:'\0026a0\00FE0F';}
-               #hash{max-width:39rem;width:100vw;}
+               #hash{max-width:40rem;width:80vw;}
                #work{width:10rem;}
        </style>
 </head>
@@ -367,7 +368,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
        <hr />
        <h3>Work Validation Tool</h3>
        <div>
-               <div>
+               <div class="full-width">
                        <label for="hash" class="hex">Block&nbsp;Hash</label>
                        <div class="hex"><input id="hash" type="text" /></div>
                </div>