docs: Stick the table headers to the top of table.

Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
This commit is contained in:
Tim 'mithro' Ansell 2020-06-21 17:49:42 -07:00
parent 40da308839
commit 8dc828766a
1 changed files with 8 additions and 0 deletions

View File

@ -41,3 +41,11 @@ span.layer {
white-space: pre;
display: inline-block;
}
.page-content table thead th {
position: sticky !important;
top: 0;
z-index: 2;
background-color: #fff;
box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.4);
}