aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2019-12-12 16:44:53 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2019-12-12 16:44:53 -0500
commit32d18c577446f6e8f2b50f6edc27b67fcffd11dc (patch)
tree8c7b642e481119bb100237396d716b7b30968d6c
parentd03af76fd597f967cba43493a6a7e50fa8e9b8af (diff)
downloadGradeBook-32d18c577446f6e8f2b50f6edc27b67fcffd11dc.tar.gz
GradeBook-32d18c577446f6e8f2b50f6edc27b67fcffd11dc.zip
added sticky style for table header to keep it above records when scrolling
-rw-r--r--GradeBook.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/GradeBook.scss b/GradeBook.scss
index 8ff92bd..462f253 100644
--- a/GradeBook.scss
+++ b/GradeBook.scss
@@ -170,6 +170,10 @@ body {
border: thin solid black;
border-collapse: collapse;
background-color: $normal_bg;
+ thead {
+ top: 0;
+ position: sticky;
+ }
tr {
&:hover {
background-color: $table_hover_bg;