Skip to content

Commit

Permalink
Merge branch 'refactor-capacity' of https://github.com/magickbase/ckb…
Browse files Browse the repository at this point in the history
…-explorer-frontend into refactor-capacity
  • Loading branch information
Keith-CY committed Dec 26, 2023
2 parents 1c06b16 + 57cf5fa commit 4415f93
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/Script/ScriptsComp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ export const CodeHashMessage = ({ codeHash }: { codeHash: string }) => {
</div>

<CopyIcon
className={styles.action}
onClick={() => {
navigator.clipboard.writeText(codeHash).then(
() => {
Expand Down
8 changes: 8 additions & 0 deletions src/pages/Script/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@

.scriptCellsPanel {
padding: 0 40px;
margin-top: 4px;
background: #fff;

@media (width <= $extraLargeBreakPoint) {
padding: 0 10px;
Expand Down Expand Up @@ -109,10 +111,16 @@
min-width: 0;

.codeHash {
flex: 1;
min-width: 0;
width: 350px;
margin-right: 16px;
}

.action {
flex-shrink: 0;
}

@media (width <= 1300px) {
.codeHash {
width: 280px;
Expand Down

0 comments on commit 4415f93

Please sign in to comment.