Author: rjollos
Date: Mon Aug 12 03:12:10 2013
New Revision: 1513032

URL: http://svn.apache.org/r1513032
Log:
Add padding around `trac-content`, such as wiki page content. The padding is 
19px, which is the same as the Bootstrap `well` class. Refs #306. Thanks to 
James (mudri) for the patch.

Modified:
    bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css
    bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_view.html

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css
URL: 
http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css?rev=1513032&r1=1513031&r2=1513032&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css Mon Aug 12 
03:12:10 2013
@@ -221,6 +221,10 @@ div.reports h2 {
 
 /* @group Wiki */
 
+div.trac-content {
+ padding: 19px;
+}
+
 .wiki-toc {
  float: right;
  margin-left: 25px;

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_view.html
URL: 
http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_view.html?rev=1513032&r1=1513031&r2=1513032&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_view.html 
(original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_view.html Mon 
Aug 12 03:12:10 2013
@@ -83,7 +83,7 @@
             </span>
             <span class="trac-print" i18n:msg="date">Last modified on 
${format_datetime(page.time)}</span>
           </div>
-          <div id="wikipage" py:content="wiki_to_html(context, text)" />
+          <div id="wikipage" class="trac-content" 
py:content="wiki_to_html(context, text)" />
         </py:when>
         <py:otherwise>
           <p i18n:msg="name">The page ${name_of(page.resource)} does not 
exist. You can create it here.</p>


Reply via email to