Add styling for the invisible class in entry preview.
Patch by kareila.
diffs (24 lines):
diff -r 5a7cd60253f0 -r 8391ac0e83b2 htdocs/preview/entry.bml
--- a/htdocs/preview/entry.bml Fri Jul 30 06:53:43 2010 -0700
+++ b/htdocs/preview/entry.bml Sun Aug 01 22:34:30 2010 +0800
@@ -278,7 +278,7 @@ _c?>
$p->{'head_content'} .= '<meta http-equiv="Content-Type"
content="text/html; charset='.$opts->{'saycharset'}."\" />\n";
}
- # Don't show the navigation strip
+ # Don't show the navigation strip or invisible content
$p->{'head_content'} .= qq{
<style type="text/css">
html body {
@@ -286,6 +286,11 @@ _c?>
}
#lj_controlstrip {
display: none !important;
+ }
+ .invisible {
+ position: absolute;
+ left: -10000px;
+ top: auto;
}
</style>
};
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog