From a56dd3ebbe4a57e881e1a0cd2d02e61709e191dd Mon Sep 17 00:00:00 2001 From: Solomon Laing Date: Sun, 13 Apr 2025 13:15:05 +0930 Subject: [PATCH] minor touchups again, now live! --- demo.js | 2 +- style.css | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/demo.js b/demo.js index e5ccf4f..276cb3e 100644 --- a/demo.js +++ b/demo.js @@ -1,6 +1,6 @@ const staggerVisualizerEl = document.querySelector('.stagger-visualizer'); const fragment = document.createDocumentFragment(); -const grid = [17, 6]; +const grid = [12, 6]; const col = grid[0]; const row = grid[1]; const numberOfElements = col * row; diff --git a/style.css b/style.css index 9c43f59..711bd52 100644 --- a/style.css +++ b/style.css @@ -4,8 +4,12 @@ box-sizing: border-box; } -body { +body, +html { overflow-x: hidden; +} + +body { margin: 0; font-family: Roboto, sans-serif; color: #d7d6d4; @@ -53,6 +57,7 @@ img { .foot { padding-top: 2rem; + padding-bottom: 1rem; } .row { @@ -133,7 +138,7 @@ a:visited { flex-wrap: wrap; justify-content: center; align-items: center; - width: 17rem; + width: 12rem; height: 6rem; }