summaryrefslogtreecommitdiffstats
path: root/templates/user/dashboard
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-12-01 05:00:14 +0100
committerGitHub <noreply@github.com>2020-11-30 23:00:14 -0500
commitb1cf7f4df11dfac879d65125880d18a03fef22c0 (patch)
tree79a9f65c922b4e247744d7fc8a96509f4a72caa1 /templates/user/dashboard
parent14e8ef9ecb7c79ba8adff6fee44fc9bfb669814c (diff)
downloadgitea-b1cf7f4df11dfac879d65125880d18a03fef22c0.tar.gz
gitea-b1cf7f4df11dfac879d65125880d18a03fef22c0.zip
Add class to page content to unify top margin (#13766)
* Add class to page content to unify top margin Previously pages would individually set this margin but some didn't so content would stick to the header without any space. Resolve this by adding a new class that is added on all pages. The only place where we remove this margin again is on the pages with menu or wrapper in the header. * fix admin notices * fix team pages * fix loading segment on gitgraph for arc-green * fix last missing case Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates/user/dashboard')
-rw-r--r--templates/user/dashboard/dashboard.tmpl2
-rw-r--r--templates/user/dashboard/issues.tmpl2
-rw-r--r--templates/user/dashboard/milestones.tmpl2
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/user/dashboard/dashboard.tmpl b/templates/user/dashboard/dashboard.tmpl
index dc04d65651..3eb8294e77 100644
--- a/templates/user/dashboard/dashboard.tmpl
+++ b/templates/user/dashboard/dashboard.tmpl
@@ -1,5 +1,5 @@
{{template "base/head" .}}
-<div class="dashboard feeds">
+<div class="page-content dashboard feeds">
{{template "user/dashboard/navbar" .}}
<div class="ui container">
{{template "base/alert" .}}
diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl
index 131ca40b3d..d4e7cb38b6 100644
--- a/templates/user/dashboard/issues.tmpl
+++ b/templates/user/dashboard/issues.tmpl
@@ -1,5 +1,5 @@
{{template "base/head" .}}
-<div class="dashboard issues">
+<div class="page-content dashboard issues">
{{template "user/dashboard/navbar" .}}
<div class="ui container">
<div class="ui stackable grid">
diff --git a/templates/user/dashboard/milestones.tmpl b/templates/user/dashboard/milestones.tmpl
index 16b5cf7286..92624fb24f 100644
--- a/templates/user/dashboard/milestones.tmpl
+++ b/templates/user/dashboard/milestones.tmpl
@@ -1,5 +1,5 @@
{{template "base/head" .}}
-<div class="dashboard issues repository milestones">
+<div class="page-content dashboard issues repository milestones">
{{template "user/dashboard/navbar" .}}
<div class="ui container">
<div class="ui stackable grid">