Skip to content
This repository was archived by the owner on Apr 27, 2023. It is now read-only.

Commit 254ccb5

Browse files
committed
fix tooltip position
1 parent d355553 commit 254ccb5

File tree

4 files changed

+272
-252
lines changed

4 files changed

+272
-252
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@
2222
"node": ">=14"
2323
},
2424
"dependencies": {
25-
"pyroscope": "git+https://github.com/pyroscope-io/pyroscope.git#6ddde73dc3bb0744f3b3fa65ddc1562f05105c75"
25+
"pyroscope": "git+https://github.com/pyroscope-io/pyroscope.git#plugin-webpack"
2626
}
2727
}

src/SimplePanel.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ const getStyles = stylesFactory(() => {
3434
min-height: 100%;
3535
display: flex;
3636
flex-direction: column;
37+
.flamegraph-tooltip {
38+
position: fixed;
39+
}
3740
`,
3841
appContainer: css`
3942
flex: 1 0 auto;

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"baseUrl": "./src",
77
"noImplicitAny": false,
88
"noUnusedLocals": false,
9+
"allowJs": true,
910
"typeRoots": ["./node_modules/@types"]
1011
}
1112
}

0 commit comments

Comments
 (0)