diff --git a/themes/odin/static/css/style.css b/themes/odin/static/css/style.css index c304426d..1df311cb 100644 --- a/themes/odin/static/css/style.css +++ b/themes/odin/static/css/style.css @@ -168,6 +168,22 @@ code.hljs { border-radius: 0.5em; } +/* +prevents tables to grow beyond it's parent width +https://stackoverflow.com/a/25296722/15597880 +*/ +.table { + display: block; + overflow-x: auto; +} +.table td { + width: 1%; +} + +a { + word-wrap: break-word; +} + :root { --dark-border: #242f3f; --dark-background: #0d1117; @@ -319,4 +335,4 @@ body.dark-mode { .dark-mode .img-dark-mode-invert { filter: invert(100%); -} \ No newline at end of file +}