From ee0b9f4944fe6a80b7454496d781c62978c8c98a Mon Sep 17 00:00:00 2001 From: Joel Johnson Date: Thu, 2 Jul 2015 16:15:14 -0600 Subject: [PATCH] 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. --- src/main/java/com/gitblit/wicket/pages/ProjectsPage.html | 2 +- src/main/resources/gitblit.css | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) 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%; -- 2.39.5