Follow-up fix for bug 489958, using the same hack for gnomestripe as was used for pinstripe
authorDão Gottwald <dao@mozilla.com>
Fri, 22 May 2009 10:58:32 +0200
changeset 28716 04e62eaa8a13b2be57349608a860c408db1fabe4
parent 28715 d37e68656412544a8cd7c2f3622d21daf20c0ad3
child 28717 78dc51f2bfbbd98179d314bc6ac93ff0c046c248
push id7206
push userdgottwald@mozilla.com
push dateFri, 22 May 2009 08:59:15 +0000
treeherdermozilla-central@04e62eaa8a13 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs489958
milestone1.9.2a1pre
Follow-up fix for bug 489958, using the same hack for gnomestripe as was used for pinstripe
browser/themes/gnomestripe/browser/sanitizeDialog.css
--- a/browser/themes/gnomestripe/browser/sanitizeDialog.css
+++ b/browser/themes/gnomestripe/browser/sanitizeDialog.css
@@ -81,16 +81,23 @@
 
 
 /* Make the item list the same width as the warning box */
 #itemList {
   -moz-margin-start: 0;
   -moz-margin-end: 0;
 }
 
+/* Without this a useless scrollbar appears in the listbox when its rows
+   attribute is set to the total number of listitems, as it is currently.  See
+   bug 489958 comment 14 and bug 491788. */
+#itemList > listitem {
+  padding: 1px 0;
+}
+
 
 /* Align the last dialog button with the end of the warning box */
 .prefWindow-dlgbuttons {
   -moz-margin-end: 0;
 }
 .dialog-button[dlgtype="accept"] {
   -moz-margin-end: 0;
 }