From f5199bb6b077926100502c9fd4b56f3c5782e6e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Taneli=20Riihim=C3=A4ki?= <m3034@student.jamk.fi>
Date: Wed, 5 Jun 2019 09:04:52 +0300
Subject: [PATCH] Bug fix. Removed scrollbars from the site and fixed the X
 -button rotation

---
 src/App.css | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/App.css b/src/App.css
index 8541116..b0f08dd 100644
--- a/src/App.css
+++ b/src/App.css
@@ -1,6 +1,7 @@
 body {
   margin: 0;
   padding: 0;
+  overflow: hidden;
 }
 
 .hidden {
@@ -48,7 +49,7 @@ div.header button:hover {
 
 /* Login&RegisterForm */
 div.fade-main {
-  position: absolute;
+  position: fixed;
   top: 0;
   z-index: 1000;
   height: 100vh;
@@ -70,7 +71,7 @@ div.sticky {
 .close {
     position: fixed;
     color: #f1f1f1;
-    height: 100px;
+    height: 85px;
     font-size: 100px;
     font-weight: bold;
     transition: transform 0.4s ease-in-out;
@@ -82,7 +83,7 @@ div.sticky {
   color: #bbb;
   text-decoration: none;
   cursor: pointer;
-  transform: rotateZ(90deg);
+  transform: rotate(90deg);
 }
 
 div.login {
-- 
GitLab