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>
This commit is contained in:
silverwindandtechknowlogick authored and GitHub committed 2020-11-30 23:00:14 -05:00
1 parent 14e8ef9ecb
commit b1cf7f4df1
133 files changed
+150 -145

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="admin edit user">
<div class="page-content admin edit user">
{{template "admin/navbar" .}}
<div class="ui container">
{{template "base/alert" .}}
+1 -1
View File
@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="admin user">
<div class="page-content admin user">
{{template "admin/navbar" .}}
<div class="ui container">
{{template "base/alert" .}}
+1 -1
View File
@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="admin new user">
<div class="page-content admin new user">
{{template "admin/navbar" .}}
<div class="ui container">
{{template "base/alert" .}}