]> git.cworth.org Git - zombocom-ai/commitdiff
Put the safety-prompt button up by the label of the textarea it controls
authorCarl Worth <cworth@cworth.org>
Thu, 8 Dec 2022 00:25:32 +0000 (16:25 -0800)
committerCarl Worth <cworth@cworth.org>
Thu, 8 Dec 2022 00:25:32 +0000 (16:25 -0800)
Hopefully this is both more intuitive and lays out better.

index.html

index 185927fc1ee244dbdabd5dfe4880a93f96b91b5a..334a390ed6cda913ac86a900ebaa1acd0f8aa157 100644 (file)
@@ -34,6 +34,7 @@
           <label for="prompt">
             What can you imagine?
           </label>
+          <button id="safety" type="button">Safety prompt</button>
           <textarea id="prompt" rows="4" width="100%" autocomplete="off" required></textarea>
         </div>
 
           </div>
         </div>
 
-        <div class="form-row small right">
-          <button id="safety" class="right" type="button">Safety prompt</button>
-        </div>
-
         <div class="form-row large">
           <button id="generate" type="submit">Make the infinite possible</button>
         </div>