Skip to content

Commit

Permalink
floatsIgnoreColumns hack was breaking default CSS - fixed now.
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph committed Oct 14, 2011
1 parent 539e68d commit b62ab96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/reader.js
Expand Up @@ -191,7 +191,7 @@ Monocle.Reader = function (node, bookData, options, onLoadCallback) {
function clampStylesheets(customStylesheet) { function clampStylesheets(customStylesheet) {
var defCSS = k.DEFAULT_STYLE_RULES; var defCSS = k.DEFAULT_STYLE_RULES;
if (Monocle.Browser.env.floatsIgnoreColumns) { 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); p.defaultStyles = addPageStyles(defCSS, false);
if (customStylesheet) { if (customStylesheet) {
Expand Down

0 comments on commit b62ab96

Please sign in to comment.