diff --git a/reference/style.css b/reference/style.css
index 92c5ebbf6108b87a9ce07d2be62858442a38cb13..7390fd100ae5c0c7e5eb81108a55b6cf4f0c4bbd 100644
--- a/reference/style.css
+++ b/reference/style.css
@@ -21,6 +21,7 @@ body {
 .slideshow-container {
 	display: flex;
 	overflow-x: scroll;
+	overflow-y: clip;
 }
 
 /* Hide the images by default */
diff --git a/static/public/style.css b/static/public/style.css
index 92c5ebbf6108b87a9ce07d2be62858442a38cb13..7390fd100ae5c0c7e5eb81108a55b6cf4f0c4bbd 100644
--- a/static/public/style.css
+++ b/static/public/style.css
@@ -21,6 +21,7 @@ body {
 .slideshow-container {
 	display: flex;
 	overflow-x: scroll;
+	overflow-y: clip;
 }
 
 /* Hide the images by default */