diff --git a/public/css/gogs.css b/public/css/gogs.css
index cd27a674a..eba8454a1 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 ffd432db2..7f66948c4 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 769841dee..03a07935c 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 e3fd90c67..f541cd0a8 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 06bd49b9c..10455db51 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 260f63753..61387f8e1 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 f622d1a23..f955973c6 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 479de75bc..b927d8006 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 7a6260651..527a90b4d 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 b8a8dff2f..5c3aaae7f 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" .}}