diff --git a/public/css/gogs.css b/public/css/gogs.css
index cd27a674aed..eba8454a1c5 100755
--- a/public/css/gogs.css
+++ b/public/css/gogs.css
@@ -1815,6 +1815,17 @@ footer .container .links > *:first-child {
margin: 1px;
padding-right: 0;
}
+.repository .ui.tabs.container {
+ margin-top: 14px;
+ margin-bottom: 0px;
+}
+.repository .ui.tabs.container .ui.menu {
+ border-bottom: none;
+}
+.repository .ui.tabs.divider {
+ margin-top: 0;
+ margin-bottom: 20px;
+}
.repository #clone-panel {
margin-top: -8px;
width: 100%;
diff --git a/public/less/_repository.less b/public/less/_repository.less
index ffd432db2dd..7f66948c42e 100644
--- a/public/less/_repository.less
+++ b/public/less/_repository.less
@@ -91,6 +91,20 @@
}
}
+ .ui.tabs {
+ &.container {
+ margin-top: 14px;
+ margin-bottom: 0px;
+ .ui.menu {
+ border-bottom: none;
+ }
+ }
+ &.divider {
+ margin-top: 0;
+ margin-bottom: 20px;
+ }
+ }
+
#clone-panel {
margin-top: -8px;
width: 100%;
diff --git a/templates/repo/commits.tmpl b/templates/repo/commits.tmpl
index 769841deeae..03a07935c80 100644
--- a/templates/repo/commits.tmpl
+++ b/templates/repo/commits.tmpl
@@ -1,9 +1,9 @@
{{template "base/head" .}}
- {{template "repo/header" .}}
+ {{template "repo/header" .}}
+ {{template "repo/sidebar" .}}
- {{template "repo/sidebar" .}}
- {{template "repo/commits_table" .}}
-
+ {{template "repo/commits_table" .}}
+
{{template "base/footer" .}}
diff --git a/templates/repo/forks.tmpl b/templates/repo/forks.tmpl
index e3fd90c671f..f541cd0a841 100644
--- a/templates/repo/forks.tmpl
+++ b/templates/repo/forks.tmpl
@@ -1,8 +1,8 @@
{{template "base/head" .}}
{{template "repo/header" .}}
+ {{template "repo/sidebar" .}}
- {{template "repo/sidebar" .}}
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl
index 06bd49b9cd2..10455db5169 100644
--- a/templates/repo/header.tmpl
+++ b/templates/repo/header.tmpl
@@ -44,5 +44,4 @@
-
{{end}}
diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl
index 260f6375322..61387f8e134 100644
--- a/templates/repo/home.tmpl
+++ b/templates/repo/home.tmpl
@@ -1,8 +1,8 @@
{{template "base/head" .}}
{{template "repo/header" .}}
+ {{template "repo/sidebar" .}}
- {{template "repo/sidebar" .}}
diff --git a/templates/repo/issue/labels.tmpl b/templates/repo/issue/labels.tmpl
index f622d1a23b9..f955973c6d4 100644
--- a/templates/repo/issue/labels.tmpl
+++ b/templates/repo/issue/labels.tmpl
@@ -1,8 +1,8 @@
{{template "base/head" .}}
{{template "repo/header" .}}
+ {{template "repo/sidebar" .}}
- {{template "repo/sidebar" .}}
{{template "repo/issue/navbar" .}}
{{if .IsRepositoryAdmin}}
diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl
index 479de75bc12..b927d800638 100644
--- a/templates/repo/issue/list.tmpl
+++ b/templates/repo/issue/list.tmpl
@@ -1,8 +1,8 @@
{{template "base/head" .}}
{{template "repo/header" .}}
+ {{template "repo/sidebar" .}}
- {{template "repo/sidebar" .}}
{{template "repo/issue/navbar" .}}
diff --git a/templates/repo/issue/milestones.tmpl b/templates/repo/issue/milestones.tmpl
index 7a62606514d..527a90b4d45 100644
--- a/templates/repo/issue/milestones.tmpl
+++ b/templates/repo/issue/milestones.tmpl
@@ -1,8 +1,8 @@
{{template "base/head" .}}
{{template "repo/header" .}}
+ {{template "repo/sidebar" .}}
- {{template "repo/sidebar" .}}
{{template "repo/issue/navbar" .}}
{{if .IsRepositoryAdmin}}
diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl
index b8a8dff2f2a..5c3aaae7ff3 100644
--- a/templates/repo/release/list.tmpl
+++ b/templates/repo/release/list.tmpl
@@ -1,8 +1,8 @@
{{template "base/head" .}}
{{template "repo/header" .}}
+ {{template "repo/sidebar" .}}
- {{template "repo/sidebar" .}}
{{template "base/alert" .}}