Bug 489958 - New Clear recent history dialog shows unnecessary scrollbars with details expanded, r=johnath

This commit is contained in:
Drew Willcoxon 2009-05-20 10:06:08 -07:00
parent 4a9eea3922
commit 58d4e4e702
2 changed files with 8 additions and 1 deletions

View File

@ -176,7 +176,7 @@
accesskey="&detailsProgressiveDisclosure.accesskey;"
control="detailsExpander"/>
</hbox>
<listbox id="itemList" rows="4" collapsed="true" persist="collapsed">
<listbox id="itemList" rows="6" collapsed="true" persist="collapsed">
<listitem label="&itemHistoryAndDownloads.label;"
type="checkbox"
accesskey="&itemHistoryAndDownloads.accesskey;"

View File

@ -83,6 +83,13 @@
-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 {