diff --git a/public/css/gogs.css b/public/css/gogs.css
index cd27a674ae..eba8454a1c 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 ffd432db2d..7f66948c42 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 769841deea..03a07935c8 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 e3fd90c671..f541cd0a84 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 06bd49b9cd..10455db516 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 260f637532..61387f8e13 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 f622d1a23b..f955973c6d 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 479de75bc1..b927d80063 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 7a62606514..527a90b4d4 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 b8a8dff2f2..5c3aaae7ff 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" .}}