Skip to content

Commit

Permalink
Revert "Attempt to improve overscroll in Apple browsers"
Browse files Browse the repository at this point in the history
This reverts commit 0847cb5.
  • Loading branch information
maghoff committed Aug 21, 2018
1 parent 0847cb5 commit 42e7857
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
10 changes: 1 addition & 9 deletions assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@ html {
"Source Serif Pro", serif;
}

/* For overscroll in Apple browsers */
html {
background: var(--theme-main);
}
body {
background: white;
}

h1 {
font-weight: normal;
font-style: normal;
Expand Down Expand Up @@ -195,11 +187,11 @@ nav {

/* Sticky footer */
html, body {
height: 100%;
margin: 0;
padding: 0;
}
body {
min-height: 100vh;
display: flex;
flex-direction: column;
}
Expand Down
4 changes: 2 additions & 2 deletions templates/layout.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html class="theme-{{theme()}}">
<html>
<head>
<title>{{title}}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
Expand All @@ -9,7 +9,7 @@
<link href="_assets/{{style_css()}}" rel="stylesheet">
<meta name="generator" content="{{project_name()}} {{version()}}" />
</head>
<body>
<body class="theme-{{theme()}}">
{{>search_input.html}}
{{{body}}}
</body>
Expand Down

0 comments on commit 42e7857

Please sign in to comment.