Skip to content

Commit

Permalink
Fix GitLab repo selector (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptronicek authored Nov 15, 2023
1 parent 97918d5 commit 619abaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/button/button-contributions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export const buttonContributions: ButtonContributionParams[] = [
],
// must not match /blob/ because that is a file
match: /^(?!.*\/blob\/).*$/,
selector: "#tree-holder > div.nav-block.gl-display-flex.gl-xs-flex-direction-column.gl-align-items-stretch > div.tree-controls > div.d-block.d-sm-flex.flex-wrap.align-items-start.gl-children-ml-sm-3.gl-first-child-ml-sm-0",
selector: "#tree-holder > div > div.tree-controls > div:first-child",
containerElement: {type: "div", props: {marginLeft: "8px"}},
application: "gitlab",
manipulations: [
Expand Down
2 changes: 1 addition & 1 deletion test/src/button-contributions-copy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export const buttonContributions: ButtonContributionParams[] = [
],
// must not match /blob/ because that is a file
match: /^(?!.*\/blob\/).*$/,
selector: "#tree-holder > div.nav-block.gl-display-flex.gl-xs-flex-direction-column.gl-align-items-stretch > div.tree-controls > div.d-block.d-sm-flex.flex-wrap.align-items-start.gl-children-ml-sm-3.gl-first-child-ml-sm-0",
selector: "#tree-holder > div > div.tree-controls > div:first-child",
containerElement: {type: "div", props: {marginLeft: "8px"}},
application: "gitlab",
manipulations: [
Expand Down

0 comments on commit 619abaa

Please sign in to comment.