From 3dbc63777fd624b69511bea8638c5da034a3a670 Mon Sep 17 00:00:00 2001 From: Giteabot Date: Sat, 8 Apr 2023 12:36:11 -0400 Subject: [PATCH] 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: Screenshot 2023-04-06 at 22 54 59 After: Screenshot 2023-04-06 at 22 54 46 Co-authored-by: silverwind Co-authored-by: Lunny Xiao --- web_src/css/repository.css | 8 ++++---- 1 file 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 {