Skip to content
Browse files

floatsIgnoreColumns hack was breaking default CSS - fixed now.

  • Loading branch information...
1 parent 539e68d commit b62ab96b8749bce9fa864b80774101aaefad9471 @joseph joseph committed Oct 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/reader.js
View
2 src/core/reader.js
@@ -191,7 +191,7 @@ Monocle.Reader = function (node, bookData, options, onLoadCallback) {
function clampStylesheets(customStylesheet) {
var defCSS = k.DEFAULT_STYLE_RULES;
if (Monocle.Browser.env.floatsIgnoreColumns) {
- defCSS += "html#RS\\:monocle * { float: none !important; }";
+ defCSS.push("html#RS\\:monocle * { float: none !important; }");
}
p.defaultStyles = addPageStyles(defCSS, false);
if (customStylesheet) {

0 comments on commit b62ab96

Please sign in to comment.
Something went wrong with that request. Please try again.