diff --git a/static/common.css b/static/common.css index 5f10ff9..533b608 100644 --- a/static/common.css +++ b/static/common.css @@ -33,7 +33,7 @@ body { main { max-width: 50rem; - width: fit-content; + width: 100vw; margin: auto; } @@ -43,3 +43,15 @@ a { a:hover { color: var(--link-hl); } + +pre { + display: block; + max-width: 100%; + overflow-x: auto; +} + +table { + display: block; + max-width: 100%; + overflow-x: auto; +} diff --git a/templates/get.ejs b/templates/get.ejs index 774286d..98e7bf8 100644 --- a/templates/get.ejs +++ b/templates/get.ejs @@ -5,17 +5,15 @@ - - <%= parsed.title %> - + <%= parsed.title %>
-

+
<%= parsed.title %> -

+ <%- parsed.content %>
- \ No newline at end of file + diff --git a/templates/index.ejs b/templates/index.ejs index cc5381c..42e1bae 100644 --- a/templates/index.ejs +++ b/templates/index.ejs @@ -14,9 +14,7 @@

txt.

-

- <%= desc %> -

+

<%= desc %>

@@ -51,4 +49,4 @@
- \ No newline at end of file +