From 1d54479585362c67ec5a6779df5b2bde874252a3 Mon Sep 17 00:00:00 2001 From: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com> Date: Sat, 16 May 2020 03:35:22 +0200 Subject: [PATCH] Fix margin on attached segment headers when they are separated by other element (#11425) Co-authored-by: Lauris BH Co-authored-by: techknowlogick --- templates/user/settings/keys.tmpl | 1 - web_src/less/_base.less | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/user/settings/keys.tmpl b/templates/user/settings/keys.tmpl index 86d2204eb..0a1d380f6 100644 --- a/templates/user/settings/keys.tmpl +++ b/templates/user/settings/keys.tmpl @@ -4,7 +4,6 @@
{{template "base/alert" .}} {{template "user/settings/keys_ssh" .}} -
{{template "user/settings/keys_gpg" .}}
diff --git a/web_src/less/_base.less b/web_src/less/_base.less index 45e745940..97de03c03 100644 --- a/web_src/less/_base.less +++ b/web_src/less/_base.less @@ -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; }