-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: various enhancements for opensea viewer
- Add "Powered by TokenScript" banner - Fix scrollbar padding - Various other CSS fixes
- Loading branch information
1 parent
88e869f
commit 6c5890c
Showing
4 changed files
with
50 additions
and
15 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
javascript/tokenscript-viewer/src/assets/test-opensea-iframe.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"/> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/ethers/5.7.2/ethers.umd.min.js" integrity="sha512-FDcVY+g7vc5CXANbrTSg1K5qLyriCsGDYCE02Li1tXEYdNQPvLPHNE+rT2Mjei8N7fZbe0WLhw27j2SrGRpdMg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> | ||
</head> | ||
<body style="margin: 0;"> | ||
<div style="max-width: 900px; width: 100%; margin: 0 auto; position: relative; height: 100dvh;"> | ||
<iframe id="frame" src="http://localhost:3333/?viewType=opensea&chain=137&contract=0xD5cA946AC1c1F24Eb26dae9e1A53ba6a02bd97Fe&tokenId=3803829543" sandbox="allow-scripts" | ||
style="border: 0; width: 100%; height: 100%;"></iframe> | ||
</div> | ||
</body> | ||
</html> |
5 changes: 2 additions & 3 deletions
5
javascript/tokenscript-viewer/src/components/common/card-view/card-popover.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters