Apply Fx25 tree-row fix to Windows only, and fix spacing there too

"height: auto" (from another extension's fix for this) actually caused
the bottoms of tree rows to be cut off on Windows (and at least on one
Linux installation with Chinese characters).
This commit is contained in:
Dan Stillman 2013-11-07 03:07:18 -05:00
parent 77669b5c17
commit 331ef4ac34
4 changed files with 9 additions and 7 deletions

View file

@ -67,6 +67,13 @@
-moz-border-left-colors: none;
}
/* Undo tree row spacing change in Fx25 on Windows */
#zotero-collections-tree treechildren::-moz-tree-row,
#zotero-items-tree treechildren::-moz-tree-row,
#zotero-prefs treechildren::-moz-tree-row {
height: 20px;
}
#zotero-collections-tree {
border-width: 0 1px 1px 0;
}

View file

@ -2,6 +2,7 @@
<?xml-stylesheet href="chrome://global/skin/"?>
<?xml-stylesheet href="chrome://zotero/skin/zotero.css" type="text/css"?>
<?xml-stylesheet href="chrome://zotero/skin/overlay.css" type="text/css"?>
<?xml-stylesheet href="chrome://zotero-platform/content/overlay.css"?>
<!DOCTYPE window [
<!ENTITY % zoteroDTD SYSTEM "chrome://zotero/locale/zotero.dtd">

View file

@ -29,6 +29,7 @@
<?xml-stylesheet href="chrome://browser/skin/preferences/preferences.css"?>
<?xml-stylesheet href="chrome://zotero/skin/preferences.css"?>
<?xml-stylesheet href="chrome://zotero/skin/zotero.css"?>
<?xml-stylesheet href="chrome://zotero-platform/content/overlay.css"?>
<!--
To add an observer for a preference change, add an appropriate case in

View file

@ -316,11 +316,4 @@ label.zotero-text-link {
#zotero-note-window {
padding-bottom: 4px;
}
/* Undo tree row spacing change in Fx25 on Windows */
#zotero-collections-tree treechildren::-moz-tree-row,
#zotero-items-tree treechildren::-moz-tree-row,
#zotero-prefs treechildren::-moz-tree-row {
height: auto;
}