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>
tokarchuk/v1.17
Cirno the Strongest 5 years ago committed by GitHub
parent d833ca3be5
commit 1d54479585
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      templates/user/settings/keys.tmpl
  2. 2
      web_src/less/_base.less

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

@ -1225,7 +1225,7 @@ i.icon.centerlock {
} }
/* https://github.com/go-gitea/gitea/issues/10210 */ /* https://github.com/go-gitea/gitea/issues/10210 */
.ui.attached.segment + .ui.attached.header { .ui.attached.segment ~ .ui.attached.header {
margin-top: 1rem; margin-top: 1rem;
} }

Loading…
Cancel
Save