Move the search_path Reset button closer to the input element
authorKarl O. Pinc <kop@karlpinc.com>
Mon, 16 Sep 2024 00:43:13 +0000 (19:43 -0500)
committerKarl O. Pinc <kop@karlpinc.com>
Mon, 16 Sep 2024 00:43:13 +0000 (19:43 -0500)
src/pgwui_sql/static/pgwui_sql.css
src/pgwui_sql/templates/sql_edit.mak

index dff8bd08f4c3255e6562835c04a8f20c1989680a..5c475eff01819167fd024b97224ea6fdbfea53e4 100644 (file)
@@ -28,3 +28,6 @@ textarea.sqltext { height: 40em;
 
 /* The "status" message which goes with each SQL result (set) */
 .sql_status { font-size: 50%; }
+
+/* The box holding the textarea of the search_path */
+.search_path_data { width: 20em; }
index c394398e7a346a77e57009cce3f2b1f72a1fa4b9..7df2b008e783e6db77c867f14f5c0836d1c76b31 100644 (file)
@@ -74,7 +74,7 @@
              class="help"
           >*</a>
         </%self.lib:td_label>
-        <%self.lib:td_input tab_index="${tab_index}">
+        <%self.lib:td_input tab_index="${tab_index}" clas="search_path_data">
           <input name="search_path"
                  tabindex="${tab_index.val}"
                  id="search_path_id"