diff --git a/css/style.css b/css/style.css
index 2eac932..802eb72 100755
--- a/css/style.css
+++ b/css/style.css
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%;
.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
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>