Skip to content

Commit

Permalink
fix without :has
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed Mar 22, 2024
1 parent 60775c3 commit a4cbb56
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/user/auth/signin.tmpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{template "base/head" .}}
<div role="main" aria-label="{{.Title}}" class="page-content user signin{{if .LinkAccountMode}} icon{{end}}">
{{template "user/auth/signin_navbar" .}}
<div class="ui middle very relaxed page grid">
<div class="ui middle very relaxed page grid tw-my-0">
<div class="ui container column fluid">
{{template "user/auth/signin_inner" .}}
</div>
Expand Down
7 changes: 5 additions & 2 deletions web_src/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -670,8 +670,7 @@ img.ui.avatar,

.page-content.new:is(.repo,.migrate,.org),
.page-content.profile:is(.user,.organization),
.page-content.user:is(.settings,.notification),
.page-content.user.signin:not(:has(> overflow-menu)) {
.page-content.user:is(.settings,.notification) {
padding-top: 15px;
}

Expand Down Expand Up @@ -1259,6 +1258,10 @@ overflow-menu {
display: flex;
}

.page-content.user.signin > overflow-menu {
margin-bottom: 0 !important;
}

overflow-menu .overflow-menu-items {
display: flex;
flex: 1;
Expand Down

0 comments on commit a4cbb56

Please sign in to comment.