Skip to content

Commit 1d54479

Browse files
CirnoTlafrikstechknowlogick
authored
Fix margin on attached segment headers when they are separated by other element (#11425)
Co-authored-by: Lauris BH <[email protected]> Co-authored-by: techknowlogick <[email protected]>
1 parent d833ca3 commit 1d54479

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

templates/user/settings/keys.tmpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
<div class="ui container">
55
{{template "base/alert" .}}
66
{{template "user/settings/keys_ssh" .}}
7-
<br>
87
{{template "user/settings/keys_gpg" .}}
98
</div>
109
</div>

web_src/less/_base.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1225,7 +1225,7 @@ i.icon.centerlock {
12251225
}
12261226

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

0 commit comments

Comments
 (0)