Skip to content

Commit

Permalink
Notch display (#355)
Browse files Browse the repository at this point in the history
* Notch display

* Notch display

* Update main.css

mistake
  • Loading branch information
키위 authored and daattali committed Jul 4, 2018
1 parent 3646045 commit 3624629
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/head.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, viewport-fit=cover">

<title>{% if page.use-site-title %}{{ site.title }} {{ site.title-separator }} {{ site.description }}{% elsif page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>

Expand Down
7 changes: 7 additions & 0 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down Expand Up @@ -209,6 +211,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;
Expand Down

0 comments on commit 3624629

Please sign in to comment.