]> source.dussan.org Git - gitblit.git/commitdiff
Use pre on commit and tag pages
authorJames Moger <james.moger@gitblit.com>
Mon, 16 Jan 2012 13:02:30 +0000 (08:02 -0500)
committerJames Moger <james.moger@gitblit.com>
Mon, 16 Jan 2012 13:02:30 +0000 (08:02 -0500)
resources/bootstrap.gb.css
src/com/gitblit/wicket/pages/CommitPage.html
src/com/gitblit/wicket/pages/TagPage.html

index e1092b03da1f973691d8051ee619c8e100f1131c..7df374307398fcb1b5840f7ac73e37b2d183bbeb 100644 (file)
@@ -350,17 +350,12 @@ div.login input:focus {
        color: white;\r
 }\r
 \r
-div.commit_message {\r
-       font-family: monospace;\r
+pre.commit_message {   \r
        padding: 8px;\r
        border: solid #ccc;\r
        border-width: 1px 0px 0px;\r
 }\r
 \r
-div.commit_message a {\r
-       font-family: monospace;\r
-}\r
-\r
 div.bug_open, span.bug_open {\r
        padding: 2px;\r
        background-color: #803333;\r
index fd2c05c356457cf2376bc994766d83bafd312983..4012314be970d683751efbe0a77887fe71fd1879 100644 (file)
@@ -45,7 +45,7 @@
        </table>\r
        \r
        <!-- full message -->\r
-       <div class="commit_message" wicket:id="fullMessage">[commit message]</div>\r
+       <pre class="commit_message" wicket:id="fullMessage">[commit message]</pre>\r
 \r
        <!--  git notes -->\r
        <table class="gitnotes">\r
index 5e89793697e277811fb98707684df7918da8d6da..cf6f6e12c681175d08e1c21ded85ddb3e0b731c5 100644 (file)
@@ -23,7 +23,7 @@
        </table>\r
        \r
        <!--  full message -->\r
-       <div style="border-bottom:0px;" class="commit_message" wicket:id="fullMessage">[tag full message]</div>\r
+       <pre style="border-bottom:0px;" class="commit_message" wicket:id="fullMessage">[tag full message]</pre>\r
        \r
        <wicket:fragment wicket:id="fullPersonIdent">\r
                <span wicket:id="personName"></span><span wicket:id="personAddress"></span>\r