-
Notifications
You must be signed in to change notification settings - Fork 11.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[explorer] Fix smart contract rendering #1778
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@666lcz - We have a PR that covers this here: https://github.com/MystenLabs/sui/pull/1535/files.
The main change from this PR would be adding whitespace-pre
to the CSS.
Would you like me to make a separate PR with the CSS changes?
Rebase and re-test @Andrew47 , note that the devnet gateway is currently down, if you would like to repro this locally,
Otherwise you can just watch the video below where I have thoroughly test the flow CleanShot.2022-05-04.at.11.15.01.mp4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given the backend is down, the video proof will do for now.
Before:

There will be an error for rendering Move package object(example: https://explorer-internal-testing.s3-website-us-east-1.amazonaws.com/objects/8070E826B3668A048A59A095DE23EC26491CA2D9)
After:

