From 9e9f4f1c533bd512042a1610ca5d7bc92288d1bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20K=C3=BChnel?= Date: Sun, 31 Aug 2014 15:27:51 +0200 Subject: [PATCH] Fix orientation bugs Maintain fontsize and and adapt width when switching to landscape mode. --- lib/site_template/_includes/head.html | 2 +- lib/site_template/_sass/_base.scss | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/site_template/_includes/head.html b/lib/site_template/_includes/head.html index ec8f7ca5..4d7e8f00 100644 --- a/lib/site_template/_includes/head.html +++ b/lib/site_template/_includes/head.html @@ -1,6 +1,6 @@ - + {% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %} diff --git a/lib/site_template/_sass/_base.scss b/lib/site_template/_sass/_base.scss index d0fa8dcd..15fce36e 100644 --- a/lib/site_template/_sass/_base.scss +++ b/lib/site_template/_sass/_base.scss @@ -20,6 +20,7 @@ body { font-weight: 300; color: $text-color; background-color: $background-color; + -webkit-text-size-adjust: 100%; }