summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-04-08 12:36:11 -0400
committerGitHub <noreply@github.com>2023-04-08 18:36:11 +0200
commit3dbc63777fd624b69511bea8638c5da034a3a670 (patch)
treeacf951e2b4bde34009d3c5e563afd91ef88ec8b2
parent4aabd8e82379fdda19f277dbc73a63333df75692 (diff)
downloadgitea-3dbc63777fd624b69511bea8638c5da034a3a670.tar.gz
gitea-3dbc63777fd624b69511bea8638c5da034a3a670.zip
Adjust sticky pr header to cover background (#23956) (#23999)
Backport #23956 by @silverwind Very minor CSS tweak: Adjust sticky PR header to cover the box-shadow of selected files. Before: <img width="1250" alt="Screenshot 2023-04-06 at 22 54 59" src="https://user-images.githubusercontent.com/115237/230492218-4d71da48-a362-4c52-a7f7-01daf4ffa458.png"> After: <img width="1255" alt="Screenshot 2023-04-06 at 22 54 46" src="https://user-images.githubusercontent.com/115237/230492227-c7142210-e535-4da8-b610-37d33dcbb549.png"> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
-rw-r--r--web_src/css/repository.css8
1 files changed, 4 insertions, 4 deletions
diff --git a/web_src/css/repository.css b/web_src/css/repository.css
index d67442b00a..0ac254b371 100644
--- a/web_src/css/repository.css
+++ b/web_src/css/repository.css
@@ -1631,10 +1631,10 @@
top: 0;
z-index: 8;
border-bottom: none;
- padding-left: 2px;
- padding-right: 2px;
- margin-left: -1px;
- margin-right: -1px;
+ padding-left: 5px;
+ padding-right: 5px;
+ margin-left: -4px;
+ margin-right: -4px;
}
.repository .diff-detail-box > div::after {