Fixed a bug with the display of the expand/collapse glyph in chrome

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-07-25 22:55:42 -07:00
parent a5cc6921d5
commit f1ee35535f
2 changed files with 3 additions and 4 deletions

View File

@@ -14,7 +14,7 @@
}, options);
_this.each(function (index, element) {
var controller = $(element);
var glyph = $("<span class=\"expando-glyph-container\"><span class=\"expando-glyph\"></span></span>");
var glyph = $("<span class=\"expando-glyph-container\"><span class=\"expando-glyph\"></span>&#8203;</span>");
glyph.data("controllees", getControllees(controller));

View File

@@ -246,7 +246,7 @@ form.link button:hover {
margin:0;
}
#navigation li h3 {
padding:0 0 2px 8px;
padding:0 0 3px 8px;
}
#navigation li h3 a, #navigation li h3 span {
padding:6px 4px px 0;
@@ -269,10 +269,9 @@ form.link button:hover {
/* todo: make generic so all toggles can use this and clean up jQuery */
.expando-glyph-container {
display:inline !important;
line-height:1em;
line-height:.9em;
padding:0 !important;
position:relative;
text-align:sub;
}
.expando-glyph {
background:#fcfcfc no-repeat center center;