From 4bab926bf08686c6970e29fb6258d17c96a6356d Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 20 Nov 2014 16:02:06 -0800 Subject: [PATCH] Fix the title overflowing on small screens --- app/styles/home.scss | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/styles/home.scss b/app/styles/home.scss index a41ab0d018..1721049c83 100644 --- a/app/styles/home.scss +++ b/app/styles/home.scss @@ -34,7 +34,12 @@ border-bottom: 5px solid $gray-border; padding-bottom: 40px; - h1 { font-size: 50px; } + h1 { + font-size: 50px; + @media only screen and (max-width: 370px) { + font-size: 40px; + } + } .links a:not(:first-child) { margin: 0 20px;