From b52337daa30f57a385d1a3959fca6ac317b47afe Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Fri, 5 Jan 2024 22:56:39 -0800 Subject: [PATCH] Scroll table on overflow --- index.html | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/index.html b/index.html index 77b6158..c96fdd0 100644 --- a/index.html +++ b/index.html @@ -93,11 +93,16 @@ border: 1px solid hsl(216deg 50% 80%); } + .table-container { + inline-size: calc(100dvi - 16px); + align-self: center; + overflow: auto; + } + table { display: none; border-collapse: collapse; - overflow-x: auto; - align-self: center; + margin: auto; } tr { @@ -139,15 +144,17 @@ - - - - - - - - -
EventKeccak-256 Hash
+
+ + + + + + + + +
EventKeccak-256 Hash
+