]> git.ardis.lu - ens2hex/commitdiff
Grow JSON-RPC input field to fill space
authorArdis Lu <ardisglu@gmail.com>
Fri, 25 Nov 2022 09:22:59 +0000 (01:22 -0800)
committerArdis Lu <ardisglu@gmail.com>
Fri, 25 Nov 2022 09:22:59 +0000 (01:22 -0800)
Also set a flex-basis to line wrap earlier on small screens

index.html

index 32623552de8eb235850118707f66556041803275..ba1721179bcc3315731270b782b7e4b9b5f48d69 100644 (file)
       height: 0.1px;
     }
 
+    .rpc-input-container {
+      display: flex;
+      flex-wrap: wrap;
+      align-items: baseline;
+      gap: 8px;
+    }
+
+    .rpc-input-container input {
+      flex: 1 40ch;
+    }
+
     #selected-file {
       block-size: 1rem;
       color: var(--secondary);
 
         <details>
           <summary>Advanced options</summary>
-          <div class="details-body">
+          <div class="details-body rpc-input-container">
             <label for="rpc">JSON-RPC node:</label>
             <input type="url" name="rpc" id="rpc" value="https://eth.ardis.lu/v1/mainnet" required>
           </div>
This page took 0.034383 seconds and 4 git commands to generate.