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>tokarchuk/v1.17
parent
14e8ef9ecb
commit
b1cf7f4df1
@ -1,10 +1,12 @@ |
||||
{{template "base/head" .}} |
||||
{{if .IsRepo}}<div class="repository">{{template "repo/header" .}}</div>{{end}} |
||||
<div class="ui container center"> |
||||
<p style="margin-top: 100px"><img class="ui centered image" src="{{StaticUrlPrefix}}/img/404.png" alt="404"/></p> |
||||
<div class="ui divider"></div> |
||||
<br> |
||||
<p>{{.i18n.Tr "error404" | Safe}} |
||||
{{if .ShowFooterVersion}}<p>{{.i18n.Tr "admin.config.app_ver"}}: {{AppVer}}</p>{{end}} |
||||
<div class="page-content ui container center {{if .IsRepo}}repository{{end}}"> |
||||
{{if .IsRepo}}{{template "repo/header" .}}{{end}} |
||||
<div class="ui container center"> |
||||
<p style="margin-top: 100px"><img class="ui centered image" src="{{StaticUrlPrefix}}/img/404.png" alt="404"/></p> |
||||
<div class="ui divider"></div> |
||||
<br> |
||||
<p>{{.i18n.Tr "error404" | Safe}} |
||||
{{if .ShowFooterVersion}}<p>{{.i18n.Tr "admin.config.app_ver"}}: {{AppVer}}</p>{{end}} |
||||
</div> |
||||
</div> |
||||
{{template "base/footer" .}} |
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue