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"> <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>

View File

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