Skip to content

Commit a4cbb56

Browse files
committed
fix without :has
1 parent 60775c3 commit a4cbb56

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

templates/user/auth/signin.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{template "base/head" .}}
22
<div role="main" aria-label="{{.Title}}" class="page-content user signin{{if .LinkAccountMode}} icon{{end}}">
33
{{template "user/auth/signin_navbar" .}}
4-
<div class="ui middle very relaxed page grid">
4+
<div class="ui middle very relaxed page grid tw-my-0">
55
<div class="ui container column fluid">
66
{{template "user/auth/signin_inner" .}}
77
</div>

web_src/css/base.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -670,8 +670,7 @@ img.ui.avatar,
670670

671671
.page-content.new:is(.repo,.migrate,.org),
672672
.page-content.profile:is(.user,.organization),
673-
.page-content.user:is(.settings,.notification),
674-
.page-content.user.signin:not(:has(> overflow-menu)) {
673+
.page-content.user:is(.settings,.notification) {
675674
padding-top: 15px;
676675
}
677676

@@ -1259,6 +1258,10 @@ overflow-menu {
12591258
display: flex;
12601259
}
12611260

1261+
.page-content.user.signin > overflow-menu {
1262+
margin-bottom: 0 !important;
1263+
}
1264+
12621265
overflow-menu .overflow-menu-items {
12631266
display: flex;
12641267
flex: 1;

0 commit comments

Comments
 (0)