Skip to content

Commit

Permalink
fix: Fixed known issues
Browse files Browse the repository at this point in the history
  • Loading branch information
0xbe37e committed Dec 4, 2024
1 parent 1a4f891 commit 60c0298
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const PhalconExplorerButton: FC<Props> = ({ txHash }) => {
theme={{
components: {
Button: {
controlHeight: 34,
controlHeight: 28,
borderRadius: 8,
fontSize: 12
}
Expand Down
2 changes: 1 addition & 1 deletion src/content/solscan/feat-scripts/fund-flow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const renderFundFlowButton = async (
mainAddressEl.append(btnRootEl)
const style: CSSProperties = {}
if (isAccountPage) {
style.marginLeft = 0
style.marginLeft = 16
} else {
style.marginTop = 16
}
Expand Down
6 changes: 4 additions & 2 deletions src/content/solscan/feat-scripts/quick2parsers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ import { PhalconExplorerButton } from '../components'
const renderAlternativeParsers = async () => {
if ($('#__metadock-alternative-parsers__').length) return
const container = $(
'#__next > div:nth-of-type(1) > div:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div > div > div:nth-of-type(2) > div > div > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1)'
'#__next > div:nth-of-type(1) > div:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div > div > div:nth-of-type(2) > div > div > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(1)'
)
const txHash = container.find('div:first').text().trim()
const rootEl = $('<span id="__metadock-alternative-parsers__"></span>')
const rootEl = $(
'<span id="__metadock-alternative-parsers__" style="margin-left: 12px"></span>'
)
container.append(rootEl)

createRoot(rootEl[0]).render(<PhalconExplorerButton txHash={txHash} />)
Expand Down

0 comments on commit 60c0298

Please sign in to comment.