[dw-free] entry preview doesn't have CSS for hiding "invisible" text
[commit: http://hg.dwscoalition.org/dw-free/rev/8391ac0e83b2]
http://bugs.dwscoalition.org/show_bug.cgi?id=2926
Add styling for the invisible class in entry preview.
Patch by
kareila.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=2926
Add styling for the invisible class in entry preview.
Patch by
Files modified:
- htdocs/preview/entry.bml
--------------------------------------------------------------------------------
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>
};
--------------------------------------------------------------------------------
