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>
This commit is contained in:
Cirno the Strongest 2020-05-16 03:35:22 +02:00 committed by GitHub
parent d833ca3be5
commit 1d54479585
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

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>

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;
}