Browse Source

Fix margin on attached segment headers when they are separated by other element (#11425)

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
tags/v1.21.12.1
Cirno the Strongest GitHub 5 years ago
parent
commit
1d54479585
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions
  1. +0
    -1
      templates/user/settings/keys.tmpl
  2. +1
    -1
      web_src/less/_base.less

+ 0
- 1
templates/user/settings/keys.tmpl View File

@@ -4,7 +4,6 @@
<div class="ui container">
{{template "base/alert" .}}
{{template "user/settings/keys_ssh" .}}
<br>
{{template "user/settings/keys_gpg" .}}
</div>
</div>


+ 1
- 1
web_src/less/_base.less View File

@@ -1225,7 +1225,7 @@ i.icon.centerlock {
}

/* https://github.com/go-gitea/gitea/issues/10210 */
.ui.attached.segment + .ui.attached.header {
.ui.attached.segment ~ .ui.attached.header {
margin-top: 1rem;
}



Loading…
Cancel
Save