Skip to content

Commit 3dbc637

Browse files
GiteaBotsilverwindlunny
authored
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>
1 parent 4aabd8e commit 3dbc637

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

web_src/css/repository.css

+4-4
Original file line numberDiff line numberDiff line change
@@ -1631,10 +1631,10 @@
16311631
top: 0;
16321632
z-index: 8;
16331633
border-bottom: none;
1634-
padding-left: 2px;
1635-
padding-right: 2px;
1636-
margin-left: -1px;
1637-
margin-right: -1px;
1634+
padding-left: 5px;
1635+
padding-right: 5px;
1636+
margin-left: -4px;
1637+
margin-right: -4px;
16381638
}
16391639

16401640
.repository .diff-detail-box > div::after {

0 commit comments

Comments
 (0)