From da0386b246e21e709aefeb67fa259637c5a52f33 Mon Sep 17 00:00:00 2001 From: MrEidam Date: Wed, 13 Nov 2024 09:10:23 +0100 Subject: [PATCH] CSS fix for games and almost everything... --- Games/2048/style.css | 2 +- Games/DiceWar/style.css | 2 +- Games/RockPaperScissors/style.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Games/2048/style.css b/Games/2048/style.css index 16835cb..fb17be5 100644 --- a/Games/2048/style.css +++ b/Games/2048/style.css @@ -13,7 +13,7 @@ body{ justify-content: center; align-items: center; flex-direction: column; - min-height: 100vmax; + min-height: 100dvh; background: #333; background-image: url('./pc.jpg'); background-repeat: no-repeat; diff --git a/Games/DiceWar/style.css b/Games/DiceWar/style.css index 52f0935..ad405a2 100644 --- a/Games/DiceWar/style.css +++ b/Games/DiceWar/style.css @@ -10,7 +10,7 @@ body{ justify-content: center; align-items: center; flex-direction: column; - min-height: 100vmax; + min-height: 100dvh; background-color: #333; color: #fff; text-align: center; diff --git a/Games/RockPaperScissors/style.css b/Games/RockPaperScissors/style.css index a730c7f..624df06 100644 --- a/Games/RockPaperScissors/style.css +++ b/Games/RockPaperScissors/style.css @@ -16,7 +16,7 @@ body{ flex-direction: column; justify-content: center; align-items: center; - min-height: 100vh; + min-height: 100dvh; color: #fff; background-image: url('./pc.jpg'); background-repeat: no-repeat;