Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yp05327 committed Dec 9, 2024
1 parent 145b583 commit 4640ff9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion models/git/branch.go
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,8 @@ func FindRecentlyPushedNewBranches(ctx context.Context, doer *user_model.User, o
// and they are unlikely to be used to create new PRs.
continue
}

fmt.Println(11111111)
fmt.Println(branch.RepoID, branch.Name)
// whether branch have already created PR
count, err := db.GetEngine(ctx).Table("pull_request").
// we should not only use branch name here, because if there are branches with same name in other repos,
Expand Down
4 changes: 2 additions & 2 deletions web_src/css/repo/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
grid-row: 2;
padding-left: 1em;
}
.repo-home-sidebar-bottom > :first-child {
.repo-home-sidebar-bottom .flex-list > :first-child {
border-top: 1px solid var(--color-secondary); /* same to .flex-list > .flex-item + .flex-item */
}

Expand All @@ -43,7 +43,7 @@
grid-row: 3;
padding-left: 0;
}
.repo-home-sidebar-bottom > :first-child {
.repo-home-sidebar-bottom .flex-list > :first-child {
border-top: 0;
}
}
Expand Down

0 comments on commit 4640ff9

Please sign in to comment.