about summary refs log tree commit diff
path: root/web/homepage
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-02-09T21·24+0000
committerVincent Ambo <tazjin@google.com>2020-02-09T21·24+0000
commit30e8f59d0262e28c0fb06eac739ca141ebad2847 (patch)
tree5a24944da41412a3c4afae5e05b9293a552d03e3 /web/homepage
parentbd2d96d053382ddb122817a23d4a1db8ad400bb1 (diff)
style(web/homepage): Overflow long code lines into scroll bars r/519
Diffstat (limited to 'web/homepage')
-rw-r--r--web/homepage/static/tazjin.css5
1 files changed, 2 insertions, 3 deletions
diff --git a/web/homepage/static/tazjin.css b/web/homepage/static/tazjin.css
index 9058715a97a4..157fc3c3d60c 100644
--- a/web/homepage/static/tazjin.css
+++ b/web/homepage/static/tazjin.css
@@ -131,9 +131,8 @@ h1, h2, h3 {
 }
 
 pre {
-    min-width: 100%;
-    /* some code snippets escape to the side, but I don't want to wrap them */
-    width: max-content;
+    width: 100%;
+    overflow: auto;
 }
 
 img {