From d77aabf966681483c4d1316c6c0e205277dbd51c Mon Sep 17 00:00:00 2001 From: schmelczerandras Date: Wed, 26 Aug 2020 12:47:04 +0200 Subject: [PATCH] Minor changes --- src/index.html | 46 ++++++++++++++++++++++++++-------------------- src/page/index.ts | 2 +- src/styles.scss | 3 +-- 3 files changed, 28 insertions(+), 23 deletions(-) diff --git a/src/index.html b/src/index.html index d754ee7..3a7297d 100644 --- a/src/index.html +++ b/src/index.html @@ -1,27 +1,33 @@ - - + + - - - - - - + + + + + + - - - + + + - - + + - Portfolio - András Schmelczer - - -
- -
- + András Schmelczer - Portfolio + + +
+ +
+ diff --git a/src/page/index.ts b/src/page/index.ts index 92b30b6..efb9267 100644 --- a/src/page/index.ts +++ b/src/page/index.ts @@ -11,7 +11,7 @@ export const create = ({ header, timeline, footer }: Portfolio) => { const pageTimeline = new PageTimeline(timeline); const pageFooter = new PageFooter(footer); - new ContainerPage(document.body.querySelector('#main'), [ + new ContainerPage(document.body.querySelector('main'), [ new PageImageViewer(), pageHeader, pageTimeline, diff --git a/src/styles.scss b/src/styles.scss index c371354..bbbcdbf 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -83,7 +83,6 @@ } body { - //noinspection CssInvalidFunction padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); @@ -95,7 +94,7 @@ } } - div#main { + main { height: 100%; overflow-x: hidden; overflow-y: scroll;