]> source.dussan.org Git - gitblit.git/commitdiff
Move reflog styles to css to shrink dashboard page sizes
authorJames Moger <james.moger@gitblit.com>
Fri, 28 Jun 2013 13:28:03 +0000 (09:28 -0400)
committerJames Moger <james.moger@gitblit.com>
Fri, 28 Jun 2013 13:42:50 +0000 (09:42 -0400)
src/main/java/com/gitblit/wicket/panels/DigestsPanel.html
src/main/resources/gitblit.css

index 53a8104256b80215db6824bae82f6a0d23b14137..c5e9009e8cc969d4eae775afeed9afcaf2d1141f 100644 (file)
@@ -10,7 +10,7 @@
        <table style="padding: 3px 0px;">\r
        <tr>\r
                <td class="icon hidden-phone"><i wicket:id="changeIcon"></i></td>\r
-               <td style="padding-left: 7px;vertical-align:middle;">\r
+               <td class="header">\r
                        <div>\r
                                <span class="when" wicket:id="whenChanged"></span>\r
                        </div>\r
        </tr>\r
        <tr>\r
                <td class="hidden-phone"></td>\r
-               <td style="padding-left: 7px;">\r
+               <td class="commits">\r
                        <div>\r
                                <table>\r
-                                       <tr wicket:id="commit">\r
-                                               <td class="hidden-phone hidden-tablet" style="vertical-align:top;padding-left:7px;"><span wicket:id="commitAuthor"></span></td>\r
-                                               <td style="vertical-align:top;"><span wicket:id="hashLink" style="padding-left: 5px;">[hash link]</span></td>\r
-                                               <td style="vertical-align:top;padding-left:5px;"><img wicket:id="commitIcon" /></td>\r
-                                               <td style="vertical-align:top;">                                                        \r
+                                       <tr class="commit" wicket:id="commit">\r
+                                               <td class="hidden-phone hidden-tablet"><span wicket:id="commitAuthor"></span></td>\r
+                                               <td><span wicket:id="hashLink">[hash link]</span></td>\r
+                                               <td><img wicket:id="commitIcon" /></td>\r
+                                               <td>                                                    \r
                                                        <span wicket:id="commitShortMessage">[commit short message]</span>\r
                                                </td>\r
                                        </tr>\r
index 9ddb68c6b888513861c685b17164ec3fa5c0c195..4db15486192865b8049ef7a88cd242c2a9f48272 100644 (file)
@@ -149,6 +149,24 @@ div.reflog i {
     vertical-align: middle;\r
 }\r
 \r
+div.reflog td.header {\r
+       padding-left: 7px;\r
+       vertical-align:middle;\r
+}\r
+\r
+div.reflog td.commits {\r
+       padding-left: 7px;\r
+}\r
+\r
+div.reflog tr.commit td {\r
+       vertical-align:top;\r
+       padding-left: 5px;\r
+}\r
+\r
+div.reflog tr.commit img {\r
+       max-width: none;\r
+}\r
+\r
 div.dashboardTitle {\r
        font-size: 1.75em;\r
        padding: 10px 0px 5px 0px;\r