File tree Expand file tree Collapse file tree 2 files changed +22
-8
lines changed Expand file tree Collapse file tree 2 files changed +22
-8
lines changed Original file line number Diff line number Diff line change @@ -343,10 +343,17 @@ export const buttonContributions: ButtonContributionParams[] = [
343343 exampleUrls : [
344344 // "https://bitbucket.org/efftinge/browser-extension-test/pull-requests/1"
345345 ] ,
346- selector : 'xpath://*[@id="pull-request-details"]/header/div/div/div[2]/div/div[2]/div/div/div' ,
347- containerElement : createElement ( "div" , {
348- marginLeft : "2px" ,
349- } ) ,
346+ selector : 'xpath://*[@id="root"]/div[3]/div[3]/div/div/div[1]/div/div/div[1]/div/div[2]/div/div[2]/div[1]' ,
347+ containerElement : createElement ( "div" , { } ) ,
348+ manipulations : [
349+ {
350+ element : 'xpath://*[@id="root"]/div[3]/div[3]/div/div/div[1]/div/div/div[1]/div/div[2]/div/div[2]/div' ,
351+ style : {
352+ display : "flex" ,
353+ gap : "0.25rem" ,
354+ } ,
355+ } ,
356+ ] ,
350357 application : "bitbucket" ,
351358 } ,
352359 {
Original file line number Diff line number Diff line change @@ -343,10 +343,17 @@ export const buttonContributions: ButtonContributionParams[] = [
343343 exampleUrls : [
344344 // "https://bitbucket.org/efftinge/browser-extension-test/pull-requests/1"
345345 ] ,
346- selector : 'xpath://*[@id="pull-request-details"]/header/div/div/div[2]/div/div[2]/div/div/div' ,
347- containerElement : createElement ( "div" , {
348- marginLeft : "2px" ,
349- } ) ,
346+ selector : 'xpath://*[@id="root"]/div[3]/div[3]/div/div/div[1]/div/div/div[1]/div/div[2]/div/div[2]/div[1]' ,
347+ containerElement : createElement ( "div" , { } ) ,
348+ manipulations : [
349+ {
350+ element : 'xpath://*[@id="root"]/div[3]/div[3]/div/div/div[1]/div/div/div[1]/div/div[2]/div/div[2]/div' ,
351+ style : {
352+ display : "flex" ,
353+ gap : "0.25rem" ,
354+ } ,
355+ } ,
356+ ] ,
350357 application : "bitbucket" ,
351358 } ,
352359 {
You can’t perform that action at this time.
0 commit comments