logo

1-pixel-wealth

Source code for <https://mkorostoff.github.io/1-pixel-wealth/>: Wealth shown to scale
commit: 34623c00398df4e82c7d7d42e9c94d8e45da6769
parent 53387b3d1b7073ea9344d86536129dd337d678e7
Author: EatTheRichTextFormat <64558123+EatTheRichTextFormat@users.noreply.github.com>
Date:   Sun,  3 May 2020 00:00:12 +0200

Prevent horizontal scrollbars on people and babies

Diffstat:

Mmain.css6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/main.css b/main.css @@ -489,7 +489,8 @@ h1 { .people-wrapper { width: 800px; height: 400px; - overflow: scroll; + overflow-y: auto; + overflow-x: hidden; } .four-hundred-people .people { width: 800px; @@ -713,7 +714,8 @@ h1 { box-shadow: inset 0 0 10px #00000042; width: 800px; height: 320px; - overflow: scroll; + overflow-y: scroll; + overflow-x: hidden; } .baby-counter { top: 127px;