1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

DDO debug output

This commit is contained in:
Matthias Kretschmann 2020-08-03 12:04:03 +02:00
parent 74f9c2202b
commit 24a7bdbd81
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 17 additions and 4 deletions

View File

@ -51,6 +51,10 @@ export default function AssetContent({
/> */} /> */}
{/* <DeleteAction ddo={ddo} /> */} {/* <DeleteAction ddo={ddo} /> */}
</div> </div>
<pre>
<code>{JSON.stringify(ddo, null, 2)}</code>
</pre>
</div> </div>
<div> <div>
<div className={styles.sticky}> <div className={styles.sticky}>

View File

@ -14,13 +14,22 @@ code {
pre { pre {
display: block; display: block;
margin: calc(var(--spacer) / 2) 0; margin: calc(var(--spacer) / 2) 0;
padding: 0; padding: calc(var(--spacer) / 2);
border: 1px solid var(--brand-grey-lighter); background-color: var(--brand-grey-dimmed) !important;
border-radius: var(--border-radius); border-radius: var(--border-radius);
overflow: auto;
-webkit-overflow-scrolling: touch;
max-height: 800px;
width: 100%;
position: relative;
} }
pre code { pre code {
padding: calc(var(--spacer) / 2); padding: 0;
white-space: pre;
display: block; display: block;
white-space: pre-wrap; overflow-wrap: normal;
word-wrap: normal;
word-break: normal;
width: 100%;
} }