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/user/settings | |
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/user/settings')
-rw-r--r-- | templates/user/settings/account.tmpl | 2 | ||||
-rw-r--r-- | templates/user/settings/applications.tmpl | 2 | ||||
-rw-r--r-- | templates/user/settings/applications_oauth2_edit.tmpl | 2 | ||||
-rw-r--r-- | templates/user/settings/keys.tmpl | 2 | ||||
-rw-r--r-- | templates/user/settings/organization.tmpl | 2 | ||||
-rw-r--r-- | templates/user/settings/profile.tmpl | 2 | ||||
-rw-r--r-- | templates/user/settings/repos.tmpl | 2 | ||||
-rw-r--r-- | templates/user/settings/security.tmpl | 2 | ||||
-rw-r--r-- | templates/user/settings/twofa_enroll.tmpl | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/templates/user/settings/account.tmpl b/templates/user/settings/account.tmpl index 8467d5b45f..d753f9082e 100644 --- a/templates/user/settings/account.tmpl +++ b/templates/user/settings/account.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="user settings account"> +<div class="page-content user settings account"> {{template "user/settings/navbar" .}} <div class="ui container"> {{template "base/alert" .}} diff --git a/templates/user/settings/applications.tmpl b/templates/user/settings/applications.tmpl index 56f78d8e62..21ea14d5d8 100644 --- a/templates/user/settings/applications.tmpl +++ b/templates/user/settings/applications.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="user settings applications"> +<div class="page-content user settings applications"> {{template "user/settings/navbar" .}} <div class="ui container"> {{template "base/alert" .}} diff --git a/templates/user/settings/applications_oauth2_edit.tmpl b/templates/user/settings/applications_oauth2_edit.tmpl index 495f8ec168..209b2a7c6f 100644 --- a/templates/user/settings/applications_oauth2_edit.tmpl +++ b/templates/user/settings/applications_oauth2_edit.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="user settings applications"> +<div class="page-content user settings applications"> {{template "user/settings/navbar" .}} <div class="ui container"> {{template "base/alert" .}} diff --git a/templates/user/settings/keys.tmpl b/templates/user/settings/keys.tmpl index 3653761ac5..c88868d000 100644 --- a/templates/user/settings/keys.tmpl +++ b/templates/user/settings/keys.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="user settings sshkeys"> +<div class="page-content user settings sshkeys"> {{template "user/settings/navbar" .}} <div class="ui container"> {{template "base/alert" .}} diff --git a/templates/user/settings/organization.tmpl b/templates/user/settings/organization.tmpl index 00b73f94d9..8d03ddead9 100644 --- a/templates/user/settings/organization.tmpl +++ b/templates/user/settings/organization.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="user settings organization"> +<div class="page-content user settings organization"> {{template "user/settings/navbar" .}} <div class="ui container"> {{template "base/alert" .}} diff --git a/templates/user/settings/profile.tmpl b/templates/user/settings/profile.tmpl index 141be2d72d..7ec8d2a15f 100644 --- a/templates/user/settings/profile.tmpl +++ b/templates/user/settings/profile.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="user settings profile"> +<div class="page-content user settings profile"> {{template "user/settings/navbar" .}} <div class="ui container"> {{template "base/alert" .}} diff --git a/templates/user/settings/repos.tmpl b/templates/user/settings/repos.tmpl index 68ed8392fd..312b19349e 100644 --- a/templates/user/settings/repos.tmpl +++ b/templates/user/settings/repos.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="user settings repos"> +<div class="page-content user settings repos"> {{template "user/settings/navbar" .}} <div class="ui container"> {{template "base/alert" .}} diff --git a/templates/user/settings/security.tmpl b/templates/user/settings/security.tmpl index c2c99c7979..891f7b9535 100644 --- a/templates/user/settings/security.tmpl +++ b/templates/user/settings/security.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="user settings security"> +<div class="page-content user settings security"> {{template "user/settings/navbar" .}} <div class="ui container"> {{template "base/alert" .}} diff --git a/templates/user/settings/twofa_enroll.tmpl b/templates/user/settings/twofa_enroll.tmpl index 0205532ac8..c8ed0b7761 100644 --- a/templates/user/settings/twofa_enroll.tmpl +++ b/templates/user/settings/twofa_enroll.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="user settings twofa"> +<div class="page-content user settings twofa"> {{template "user/settings/navbar" .}} <div class="ui container"> {{template "base/alert" .}} |