Use CSS to let the URL and pattern input fields scale with
authorFabian Keil <fk@fabiankeil.de>
Sat, 8 Dec 2007 14:29:06 +0000 (14:29 +0000)
committerFabian Keil <fk@fabiankeil.de>
Sat, 8 Dec 2007 14:29:06 +0000 (14:29 +0000)
the browser width and try to prevent vertical scroll bars
if the width is less than 80 characters. Closes #1843596,
thanks to Gerry Murphy and Lee.

templates/cgi-style.css
templates/show-url-info

index 5ea0251..2149ea6 100644 (file)
@@ -30,6 +30,9 @@
 #
 # Revisions   :
 #    $Log: cgi-style.css,v $
+#    Revision 1.10  2007/01/22 13:12:43  fabiankeil
+#    White space cosmetics for #include.
+#
 #    Revision 1.9  2006/12/17 17:50:55  fabiankeil
 #    Add white space workaround for tables
 #    in show-status CGI page.
@@ -43,7 +46,7 @@
 /*
  * CSS for Privoxy CGI and script output
  *
- * $Id: cgi-style.css,v 1.9 2006/12/17 17:50:55 fabiankeil Exp $
+ * $Id: cgi-style.css,v 1.10 2007/01/22 13:12:43 fabiankeil Exp $
  */
 
 /*
@@ -152,3 +155,10 @@ em.warning { color: #ff0000 }
  * and use this workaround until then.
  */
 .box table { margin-top: 1em; }
+
+/*
+ * Let the URL and pattern input fields scale with the browser
+ * width and try to prevent vertical scroll bars if the width
+ * is less than 80 characters. 
+ */
+input.url, input.pattern { width: 95%; }
index 1c71b78..61cd860 100644 (file)
@@ -27,6 +27,9 @@
 #
 # Revisions   :
 #    $Log: show-url-info,v $
+#    Revision 1.21  2007/11/15 19:11:11  fabiankeil
+#    Reword HTTPS URL information.
+#
 #    Revision 1.20  2007/07/21 12:19:50  fabiankeil
 #    If show-url-info is called with an URL that Privoxy
 #    would reject as invalid, don't show unresolved forwarding
           URL:</h2>
         <form method="GET" action="@default-cgi@show-url-info">
           <p>
-            <input type="text" name="url" size="80" value="@url@"> 
+            <input type="text" name="url" size="80" value="@url@" class="url"
             <input type="submit" value="Go">
           </p>
         </form>