From b9d2efa582822ae1e44c2279d643593d4f2d686c Mon Sep 17 00:00:00 2001 From: Naoki Takezoe Date: Sat, 21 Jun 2025 17:23:23 +0900 Subject: [PATCH] UI: Fix bottom margin of branch deletion box in pull request (#3780) --- src/main/twirl/gitbucket/core/pulls/conversation.scala.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/twirl/gitbucket/core/pulls/conversation.scala.html b/src/main/twirl/gitbucket/core/pulls/conversation.scala.html index be00cb128..93878744f 100644 --- a/src/main/twirl/gitbucket/core/pulls/conversation.scala.html +++ b/src/main/twirl/gitbucket/core/pulls/conversation.scala.html @@ -37,8 +37,8 @@ } @if(isManageableForkedRepository && issue.closed && merged && - forkedRepository.map(r => (r.branchList.contains(pullreq.requestBranch) && r.repository.defaultBranch != pullreq.requestBranch)).getOrElse(false)){ -
+ forkedRepository.exists(r => r.branchList.contains(pullreq.requestBranch) && r.repository.defaultBranch != pullreq.requestBranch)){ +