From 21078667871072ae9bac7098c3fe6bb4f98b0f7f Mon Sep 17 00:00:00 2001 From: KingRainbow44 Date: Fri, 26 May 2023 12:03:25 -0400 Subject: [PATCH] Add _some_ scaling to the home buttons and its text --- src/handbook/src/css/widgets/HomeButton.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/handbook/src/css/widgets/HomeButton.scss b/src/handbook/src/css/widgets/HomeButton.scss index abc40ca40..e7b9fd4d1 100644 --- a/src/handbook/src/css/widgets/HomeButton.scss +++ b/src/handbook/src/css/widgets/HomeButton.scss @@ -3,8 +3,8 @@ flex-direction: column; padding: 20px; - width: 196px; - height: 196px; + width: min(10vw, 196px); + height: min(20vh, 196px); background-color: var(--primary-color); @@ -40,6 +40,6 @@ } .HomeButton_Label { - font-size: 30px; + font-size: min(1.3vw, 30px); text-align: center; }