diff --git a/filed/static/assets/code.css b/filed/static/assets/code.css index 10adf06..6ccfdfc 100644 --- a/filed/static/assets/code.css +++ b/filed/static/assets/code.css @@ -3,11 +3,21 @@ padding: 1em; border: 1px solid var(--header-sec-color); border-radius: 12px; - font-family: monospace; + overflow-x: auto; +} +.code .inner { + width: max-content; + display: block; } .code-inline { display: inline; - font-family: monospace; background: #00000010; + border: 1px solid #c2c4c210; + border-radius: 4px; padding: 2px 4px; +} + +.code, .code-inline { + font-family: monospace; + line-height: 1.5em; } \ No newline at end of file diff --git a/filed/templates/curlapi_help.html b/filed/templates/curlapi_help.html index e982594..d8ef7cf 100644 --- a/filed/templates/curlapi_help.html +++ b/filed/templates/curlapi_help.html @@ -25,11 +25,13 @@

- curl - -X POST - {{env.instanceurl}}/curlapi/upload - -F'file=@file.txt' - -F'tos_consent=on' + + curl + -X POST + {{env.instanceurl}}/curlapi/upload + -F'file=@file.txt' + -F'tos_consent=on' +

To add a password, do it like this: @@ -38,12 +40,14 @@

- curl - -X POST - {{env.instanceurl}}/curlapi/upload - -F'file=@file.txt' - -F'tos_consent=on' - -F'named=on' + + curl + -X POST + {{env.instanceurl}}/curlapi/upload + -F'file=@file.txt' + -F'tos_consent=on' + -F'named=on' +

Note that the