Skip to content

Commit

Permalink
Merge pull request #96 from asabuncuoglu13/fixed-header
Browse files Browse the repository at this point in the history
Update sticky table header style in styles.css
  • Loading branch information
mdingemanse authored Jun 26, 2024
2 parents fadb0b3 + 5d38d43 commit b157585
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ p,li,blockquote { line-height:1.4rem; }
margin-bottom:0.5rem;
}
}

}

/* Title*/
h1 a { border:none; }
Expand Down Expand Up @@ -143,6 +141,13 @@ thead tr.second-header th {
white-space:nowrap;
}

thead {
position: -webkit-sticky; /* Safari */
position: sticky;
top: 0;
z-index: 1000;
background-color: white;
}

/* custom width for some columns */
table tr th.first-column {
Expand Down

0 comments on commit b157585

Please sign in to comment.