From 3e196ecec0f8f72ec8ddda9e32fdc9c5d5076aa3 Mon Sep 17 00:00:00 2001 From: Tim Lim Date: Sun, 2 Oct 2022 18:49:17 +0800 Subject: [PATCH] Fix table overflow when there is long data that exceeds page width --- assets/stylesheets/global/_base.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/assets/stylesheets/global/_base.scss b/assets/stylesheets/global/_base.scss index ec7be4f2..d331c3d9 100644 --- a/assets/stylesheets/global/_base.scss +++ b/assets/stylesheets/global/_base.scss @@ -134,6 +134,9 @@ table { border-collapse: separate; border-spacing: 0; border-radius: 3px; + display: inline-block; + overflow-x: auto; + max-width: 100%; } caption {