* Fix display of sidebar when previewing page edit. (Thanks, privat)
* relativedate: Fix problem with localised dates not working.
* editpage: Avoid storing accidental state changes when previewing pages.
+ * page.tmpl: Add a div around the sidebar, page content, and comments,
+ to aide in styling.
+ * style.css: Improvements to make floating sidebar fit better on
+ pages with inlines.
-- Joey Hess <joeyh@debian.org> Mon, 31 May 2010 20:44:17 -0400
}
#editcontent {
- width: 100%;
+ width: 98%;
+}
+
+.editcontentdiv {
+ width: auto;
+ overflow: auto;
}
img {
border-style: solid;
border-width: 1px;
overflow: auto;
- clear: both;
- width: 100%;
+ width: auto;
+ clear: none;
background: #eee;
color: black !important;
}
.inlinepage {
padding: 10px 10px;
border: 1px solid #aaa;
+ overflow: auto;
}
.pagedate,
-[[!meta title="tag <TMPL_VAR TAGNAME>"]]
+[[!meta title="pages tagged <TMPL_VAR TAGNAME>"]]
[[!inline pages="tagged(<TMPL_VAR TAG>)" actions="no" archive="yes"
feedshow=10]]
<TMPL_VAR FIELD-TYPE>
</TMPL_IF>
<li>
+<div class="editcontentdiv">
<TMPL_VAR FIELD-EDITCONTENT><br />
+</div>
</li>
<TMPL_IF NAME="CAN_COMMIT">
<li>
<TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
+<div id="pagebody">
+
<TMPL_IF SIDEBAR>
<TMPL_IF HTML5><aside class="sidebar"><TMPL_ELSE><div class="sidebar"></TMPL_IF>
<TMPL_VAR SIDEBAR>
<TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
</TMPL_IF>
+</div>
+
<TMPL_IF HTML5><footer id="footer" class="pagefooter"><TMPL_ELSE><div id="footer" class="pagefooter"></TMPL_IF>
<TMPL_UNLESS DYNAMIC>
<TMPL_IF HTML5><nav id="pageinfo"><TMPL_ELSE><div id="pageinfo"></TMPL_IF>