diff options
author | silverwind <me@silverwind.io> | 2020-12-01 05:00:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-30 23:00:14 -0500 |
commit | b1cf7f4df11dfac879d65125880d18a03fef22c0 (patch) | |
tree | 79a9f65c922b4e247744d7fc8a96509f4a72caa1 /templates/repo/graph.tmpl | |
parent | 14e8ef9ecb7c79ba8adff6fee44fc9bfb669814c (diff) | |
download | gitea-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/repo/graph.tmpl')
-rw-r--r-- | templates/repo/graph.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/graph.tmpl b/templates/repo/graph.tmpl index fa027adc03..e3b5cd3878 100644 --- a/templates/repo/graph.tmpl +++ b/templates/repo/graph.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="repository commits"> +<div class="page-content repository commits"> {{template "repo/header" .}} <div class="ui container"> <div id="git-graph-container" class="ui segment{{if eq .Mode "monochrome"}} monochrome{{end}}"> |