Skip to content

Commit

Permalink
removes unused modules css variables and replaces with tx section spa…
Browse files Browse the repository at this point in the history
…cing (#3936)
  • Loading branch information
apburnie authored Aug 12, 2022
1 parent 1c8d772 commit a11c378
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ section .codeview pre {
.modulewrapper {
@apply p-0 pb-2;
}

@media (min-width: 40em) {
section .modulewrapper {
border-right: 1px solid #f0f1f2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,22 +122,8 @@ div.accommodate > h2.header {
@apply lg:w-[50vw];
}

/* Bytecode Styling */
/* Transaction Section Spacing */

div.bytecodebox > div {
@apply ml-[5vw];
}

div.bytecodebox > div > div:first-child {
@apply font-sans tracking-tight font-semibold block;
}

div.bytecodebox > div > div:nth-child(2) {
@apply w-[65vw] h-[30vh] mt-[2vh] mb-[5vh];
}

div.jsondata {
@apply border-solid border-stone-300 mb-[5vh] p-5 bg-white whitespace-pre text-lg font-mono;

overflow-x: scroll;
.txsection {
@apply mt-[68px];
}
6 changes: 4 additions & 2 deletions explorer/client/src/pages/object-result/views/PkgView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,10 @@ function PkgView({ data }: { data: DataType }) {
content: properties,
}}
/>
<h2 className={styles.header}>Transactions </h2>
<TxForID id={viewedData.id} category="object" />
<div className={styles.txsection}>
<h2 className={styles.header}>Transactions </h2>
<TxForID id={viewedData.id} category="object" />
</div>
</div>
</div>
);
Expand Down

0 comments on commit a11c378

Please sign in to comment.