diff --git a/_includes/head.html b/_includes/head.html index 1142dfa194fd..f67974fd3ea8 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -1,7 +1,7 @@ - + {% if page.use-site-title %}{{ site.title }} {{ site.title-separator }} {{ site.description }}{% elsif page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %} diff --git a/css/main.css b/css/main.css index b9f667ec04f9..ea8962642779 100644 --- a/css/main.css +++ b/css/main.css @@ -52,6 +52,8 @@ hr.small { } @media only screen and (min-width: 768px) { .main-content { + padding-left: env(safe-area-inset-left); + padding-right: env(safe-area-inset-right); padding-top: 130px; } } @@ -212,6 +214,11 @@ img { } } +.container-fluid { + padding-left: max(15px, env(safe-area-inset-left)); + padding-right: max(15px, env(safe-area-inset-right)); +} + /* Multi-level navigation links */ .navbar-custom .nav .navlinks-container { position: relative;