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} /> */}
</div>
<pre>
<code>{JSON.stringify(ddo, null, 2)}</code>
</pre>
</div>
<div>
<div className={styles.sticky}>

View File

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