浏览代码

Update styling so that the logo stays in place and doesn't move with the page.

Lee Morgan 1 年之前
父节点
当前提交
2d736fb1e3
共有 3 个文件被更改,包括 8 次插入9 次删除
  1. 0 1
      views/css/home.css
  2. 1 1
      views/css/session.css
  3. 7 7
      views/index.css

+ 0 - 1
views/css/home.css

@@ -1,7 +1,6 @@
 #homePage{
     flex-direction: column;
     position: relative;
-    overflow-y: auto;
 }
 
 #homePage h1{

+ 1 - 1
views/css/session.css

@@ -1,7 +1,7 @@
 #sessionPage{
     flex-direction: column;
     justify-content: flex-start;
-    overflow-y: auto;
+    padding-bottom: 25px;
 }
 
 #previousSession{

+ 7 - 7
views/index.css

@@ -22,21 +22,21 @@
     color: var(--text);
 }
 
+body{
+    background: var(--dark);
+}
+
 .page{
     display: flex;
     justify-content: center;
     align-items: center;
-    height: 100vh;
+    min-height: calc(100vh - 65px);
     width: 100vw;
-    background: var(--dark);
-    padding: 75px 25px 25px 25px;
+    padding: 25px 25px 25px 25px;
 }
 
 .logo{
-    position: absolute;
-    top: 5px;
-    left: 5px;
-    z-index: 250;
+    margin-left: 10px;
 }
 
 #notifier{