File tree Expand file tree Collapse file tree 2 files changed +18
-14
lines changed
Expand file tree Collapse file tree 2 files changed +18
-14
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ function injectCss(offsetTop, offsetLeft) {
1818 .gct-file-tree {
1919 position: absolute;
2020 top: ${ $ ( '#files' ) . offset ( ) . top - offsetTop } px;
21- background-color: #fff ;
21+ background-color: transparent ;
2222 left: ${ offsetLeft } px;
2323 z-index: 28;
2424 width: 280px;
@@ -83,4 +83,4 @@ function injectCss(offsetTop, offsetLeft) {
8383 }
8484 </style>` )
8585 . appendTo ( "head" ) ;
86- }
86+ }
Original file line number Diff line number Diff line change 22 "name" : " Github Code Tree" ,
33 "version" : " 0.1.0" ,
44 "description" : " Show the source tree on the github PR" ,
5+ "manifest_version" : 2 ,
6+ "permissions" : [
7+ " activeTab" ,
8+ " https://github.com/*"
9+ ],
10+ "browser_action" : {
11+ "default_icon" : " icon.png"
12+ },
13+ "optional_permissions" : [
14+ " http://*/*" ,
15+ " https://*/*"
16+ ],
517 "content_scripts" : [
618 {
7- "matches" : [" http://*/*" , " https://*/*" ],
19+ "matches" : [
20+ " https://github.com/*"
21+ ],
822 "js" : [
923 " lib/jquery-1.11.1.min.js" ,
1024 " app/icons.js" ,
1125 " app/style.js" ,
1226 " app/app.js"
1327 ]
1428 }
15- ],
16-
17- "permissions" : [
18- " tabs" ,
19- " http://*/*" ,
20- " https://*/*"
21- ],
22- "manifest_version" : 2 ,
23- "browser_action" : {
24- "default_icon" : " icon.png"
25- }
29+ ]
2630 }
You can’t perform that action at this time.
0 commit comments