diff --git a/share/templates/lab/index.html.j2 b/share/templates/lab/index.html.j2
index ad184ca7c..6e4ec37f1 100644
--- a/share/templates/lab/index.html.j2
+++ b/share/templates/lab/index.html.j2
@@ -72,7 +72,7 @@ a.anchor-link {
font-size: inherit;
line-height: inherit;
color: inherit;
-
+ overflow-x: auto;
}
.jp-OutputArea-output pre {