Diff between 4d812bc80b2686dd7ab84ab3efc20aa1c1409e14 and 18c2e4b88bdb02a93420e4c5cfb2ce0b17279033

Changed Files

File Additions Deletions Status
css/style.css +3 -8 modified
public/index.php +6 -6 modified

Full Patch

diff --git a/css/style.css b/css/style.css
index 2eac932..802eb72 100755
--- a/css/style.css
+++ b/css/style.css
@@ -47,18 +47,13 @@ tbody tr:nth-child(odd) {
   background-color: #eeeeee;
 }
 
+thead tr th:nth-child(1), /* Siivoa jos osaat css */
 tbody tr td:nth-child(1) {
 	position: sticky;
 	left: 0;
 	z-index: 0;
 	background-color: var(--main-color) ;
 }
-thead tr th:nth-child(1) { /* Siivoa jos osaat css */
-	position: sticky;
-	left: 0;
-	z-index: 0;
-	background-color:  var(--main-color) ;
-}
 
 .table-container{
     width: 100%;
@@ -92,9 +87,9 @@ header {
 
 .navigaatio nav{
     display: flex;
-    flex-direction: row;
     justify-content: space-between;
-    min-width: 100vh;
+	flex-flow: row wrap;
+    max-width: 100%;
 }
 
 .navigaatio-osio {
diff --git a/public/index.php b/public/index.php
index 7b45ac5..231c31e 100755
--- a/public/index.php
+++ b/public/index.php
@@ -29,13 +29,13 @@ if ($result->num_rows>0){
 		Opiskelijat
 	</h1>
     <main>
+		<input class="searchInput" data-table-id="table1" type="search" placeholder="Hae🔍" aria-label="Hae🔍" aria-target="table1">  
+		<?php
+		if ($logged_in and $op) {
+			echo "<a href='uusopiskelija.php'><button>+</button></a>";
+					}
+		?>
 		<div class="table-container">
-			<input class="searchInput" data-table-id="table1" type="search" placeholder="Hae🔍" aria-label="Hae🔍" aria-target="table1">  
-			<?php
-			if ($logged_in and $op) {
-				echo "<a href='uusopiskelija.php'><button>+</button></a>";
-			}
-			?>
 			<table class="sortTable" id="table1">
 				<thead>
 					<tr>