From 251da90d5775fea20a39d58037f5d26d6264ac98 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Tue, 15 Aug 2017 01:24:48 -0700 Subject: [PATCH] Fix problems with scaling on mobile phones. --- docs/_layouts/home.html | 2 ++ docs/assets/css/main.scss | 1 + 2 files changed, 3 insertions(+) diff --git a/docs/_layouts/home.html b/docs/_layouts/home.html index 64a4865..f0629a6 100644 --- a/docs/_layouts/home.html +++ b/docs/_layouts/home.html @@ -13,6 +13,8 @@ img { margin: auto; + width: 100%; + max-width: 432px; } div#buttons { diff --git a/docs/assets/css/main.scss b/docs/assets/css/main.scss index 9fa76c5..f7c9664 100644 --- a/docs/assets/css/main.scss +++ b/docs/assets/css/main.scss @@ -16,6 +16,7 @@ a { color: $background-color; &.button { + display: inline-block; background-color: $background-color; color: $clear-color; padding: 10px;