From 732ffd94c21f42a81e267cccb9012cf3e2ced197 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Hozda?= Date: Thu, 20 Feb 2020 13:12:47 +0100 Subject: [PATCH] overflow fix --- css/main.css | 9 +++------ css/main.styl | 11 ++++++----- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/css/main.css b/css/main.css index 882ac16..4e7baf8 100644 --- a/css/main.css +++ b/css/main.css @@ -3,7 +3,6 @@ html, body, .navigation-overlay { min-height: 100vh; - min-width: 100vw; } body > canvas { position: fixed; @@ -90,9 +89,8 @@ body > canvas { #root { transition: 0.6s; min-height: 100vh; - min-width: 100vw; } -#root canvas { +canvas { position: absolute; left: 0; top: 0; @@ -108,7 +106,7 @@ body > canvas { --color-error: #d43939; --color-success: #28bd14; --grid-maxWidth: 120rem; - --grid-gutter: 2rem; + --grid-gutter: 0rem; --font-size: 2.5vw; --font-family: "Gill Sans MT", sans-serif; } @@ -117,7 +115,6 @@ body > canvas { z-index: -1; } .fullheight { - width: 100vw; height: 100vh; } .cool-button { @@ -245,7 +242,7 @@ body > canvas { content: counter(list, lower-alpha) ") "; } .row { - width: 100vw; + text-transform: none; } .hover-man { transition: 0.3s; diff --git a/css/main.styl b/css/main.styl index b85065b..119f910 100644 --- a/css/main.styl +++ b/css/main.styl @@ -2,7 +2,7 @@ html, body, .navigation-overlay min-height: 100vh - min-width: 100vw +// min-width: 100vw body > canvas position: fixed @@ -80,7 +80,7 @@ body > canvas #root transition .6s min-height 100vh - min-width 100vw +// min-width 100vw & canvas position: absolute left: 0 @@ -98,7 +98,7 @@ body > canvas --color-error: #d43939 --color-success: #28bd14 --grid-maxWidth: 120rem - --grid-gutter: 2rem + --grid-gutter: 0rem --font-size: 2.5vw --font-family: "Gill Sans MT", sans-serif @@ -107,7 +107,7 @@ body > canvas z-index: -1 .fullheight - width: 100vw +// width: 100vw height: 100vh .cool-button @@ -227,7 +227,8 @@ body > canvas content: counter(list, lower-alpha) ") "; .row - width: 100vw +// width: 100vw + text-transform none .hover-man transition: .3s