Diff between 2211c3fa254458266105ba4e5b86d847a78e1238 and 4d812bc80b2686dd7ab84ab3efc20aa1c1409e14

Changed Files

File Additions Deletions Status
css/style.css +17 -0 modified

Full Patch

diff --git a/css/style.css b/css/style.css
index 023f3c0..2eac932 100755
--- a/css/style.css
+++ b/css/style.css
@@ -47,6 +47,19 @@ tbody tr:nth-child(odd) {
   background-color: #eeeeee;
 }
 
+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%;
     overflow-x: auto;
@@ -66,6 +79,10 @@ footer{
     text-align: center;
 }
 
+header {
+	z-index: 10;
+}
+
 .navigaatio {
     background-color: white;
     position: sticky;