From: Joel Johnson Date: Thu, 2 Jul 2015 22:15:14 +0000 (-0600) Subject: provide spacing on the projects page listing X-Git-Tag: v1.7.0~1^2~46^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ee0b9f4944fe6a80b7454496d781c62978c8c98a;p=gitblit.git provide spacing on the projects page listing The projects page was showing the project listing directly under the navbar with no spacing. This adds spacing to have the elements offset. The table is showing using the common "repositories" class, however it can't be changed directly since several other table displays use the same class, and have adequate top margin spacing. We create a new class for the one-off use on the projects page. --- diff --git a/src/main/java/com/gitblit/wicket/pages/ProjectsPage.html b/src/main/java/com/gitblit/wicket/pages/ProjectsPage.html index 2d446ecc..fc28d178 100644 --- a/src/main/java/com/gitblit/wicket/pages/ProjectsPage.html +++ b/src/main/java/com/gitblit/wicket/pages/ProjectsPage.html @@ -8,7 +8,7 @@
- +
diff --git a/src/main/resources/gitblit.css b/src/main/resources/gitblit.css index a6cc516c..c0329059 100644 --- a/src/main/resources/gitblit.css +++ b/src/main/resources/gitblit.css @@ -1734,7 +1734,11 @@ table.comments td { line-height: 17px; } -table.repositories { +table.projectlist { + margin-top: 10px; +} + +table.repositories { border:1px solid #ddd; border-spacing: 0px; width: 100%;