From 6ca179f9491e5dc0884b7b9590301fbcb90a23d9 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Tue, 24 Dec 2019 14:57:47 +0100 Subject: [PATCH] =?UTF-8?q?=C5=A0k=C3=A1lov=C3=A1n=C3=AD=20s=20=C5=A1?= =?UTF-8?q?=C3=AD=C5=99kou=20okna?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sass/_nav.scss | 5 ++++- sass/style.scss | 4 ++-- templates/index.html | 1 + 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/sass/_nav.scss b/sass/_nav.scss index fff84c5..d1ff3ef 100644 --- a/sass/_nav.scss +++ b/sass/_nav.scss @@ -38,8 +38,11 @@ nav { display:flex; justify-content:space-between; align-items:flex-end; - width:$recipe-wrap; + width:100%; + max-width:$recipe-wrap; margin:0 auto; + padding:0 1em; + box-sizing:border-box; } .subnav { diff --git a/sass/style.scss b/sass/style.scss index 27eac21..9a7fb2c 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -30,7 +30,7 @@ img { } main { - width:$wrap; + max-width:$wrap; margin:3em auto; h2 { @@ -40,7 +40,7 @@ main { &.recipe { background:$recipe-background; - width:$recipe-wrap; + max-width:$recipe-wrap; padding:1em 4em; border:1px solid $border; border-radius:8px; diff --git a/templates/index.html b/templates/index.html index 8ff1ce1..f4b440d 100644 --- a/templates/index.html +++ b/templates/index.html @@ -2,6 +2,7 @@ + {% block title %}{{ config.title }}{% endblock title %}