File tree Expand file tree Collapse file tree 2 files changed +19
-3
lines changed
Expand file tree Collapse file tree 2 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 44 "name" : " GitHub Center" ,
55 "author" : " Katsute" ,
66 "description" : " Center navigation on large viewports" ,
7- "version" : " 4.0 " ,
7+ "version" : " 4.1 " ,
88 "homepage_url" : " https://github.com/KatsuteDev/GitHub-Center" ,
99 "icons" : {
1010 "16" : " icon16.png" ,
Original file line number Diff line number Diff line change @@ -29,22 +29,38 @@ body:not(.project-page) #repo-content-turbo-frame > div:not(#repo-content-pjax-c
2929}
3030
3131@media (min-width : 1400px ) and (max-width : 2800px ) {
32- .pr-toolbar .position-stuck {
32+ .pr-toolbar .position-stuck , [ class *= " PullRequestFilesToolbar-module__is-stuck" ] {
3333 margin-left : calc (-50dvw + 635px ) !important ;
3434 margin-right : calc (-50dvw + 635px ) !important ;
3535 }
36+
37+ [data-testid = "issue-metadata-sticky" ] {
38+ width : calc (100dvw - 20px ) !important
39+ }
3640}
3741
3842@media (min-width : 2800px ){
39- .pr-toolbar .position-stuck {
43+ .pr-toolbar .position-stuck , [ class *= " PullRequestFilesToolbar-module__is-stuck" ] {
4044 margin-left : calc (-50dvw + 660px ) !important ;
4145 margin-right : calc (-50dvw + 660px ) !important ;
4246 }
47+
48+ [data-testid = "issue-metadata-sticky" ] {
49+ width : calc (100dvw - 40px ) !important
50+ }
4351}
4452
4553.pr-toolbar .position-stuck > div {
4654 width : 100% ;
4755 max-width : 1280px ;
4856 margin-left : auto;
4957 margin-right : auto;
58+ }
59+
60+ [class *= " PullRequestFilesToolbar-module__is-stuck" ] > div : first-of-type {
61+ margin-left : calc (50dvw - 670px ) !important ;
62+ }
63+
64+ [class *= " PullRequestFilesToolbar-module__is-stuck" ] > div : last-of-type {
65+ margin-right : calc (50dvw - 670px ) !important ;
5066}
You can’t perform that action at this time.
0 commit comments