diff --git a/internal/html/generate.css b/internal/html/generate.css index 451993b..b01d692 100644 --- a/internal/html/generate.css +++ b/internal/html/generate.css @@ -34,15 +34,11 @@ color: rgb(var(--ctp-subtext0)) !important; } -.chroma .line { - white-space: break-spaces; -} - .chroma .line.active, .chroma .line.active * { background: rgb(var(--ctp-surface0)) !important; } .code>.chroma { - @apply text-sm p-3 rounded; + @apply text-sm p-3 rounded overflow-scroll; } \ No newline at end of file diff --git a/internal/html/index.templ b/internal/html/index.templ index eb32dc9..4488860 100644 --- a/internal/html/index.templ +++ b/internal/html/index.templ @@ -58,11 +58,11 @@ templ Index(ic IndexContext) { } -