mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-31 00:47:13 +00:00
theme: make table headers sticky #997
This commit is contained in:
parent
60bb1c65c5
commit
aeb331259b
3 changed files with 22 additions and 1 deletions
|
@ -992,6 +992,14 @@ div.highlight > div table {
|
|||
border-width: 0;
|
||||
margin: 0;
|
||||
}
|
||||
table {
|
||||
position: relative;
|
||||
}
|
||||
tr:has(th) {
|
||||
background-color: var(--INTERNAL-MAIN-BG-color);
|
||||
position: sticky;
|
||||
top: -1px;
|
||||
}
|
||||
div.highlight > div td {
|
||||
border-width: 0;
|
||||
}
|
||||
|
|
13
exampleSite/content/introduction/releasenotes/7/4.en.md
Normal file
13
exampleSite/content/introduction/releasenotes/7/4.en.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
+++
|
||||
disableToc = false
|
||||
hidden = true
|
||||
title = "Version 7.4"
|
||||
type = "releasenotes"
|
||||
weight = -4
|
||||
+++
|
||||
|
||||
## 7.4.0 (XXXX-XX-XX) {#7-4-0}
|
||||
|
||||
### New
|
||||
|
||||
- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Table headers are sticky now.
|
|
@ -1 +1 @@
|
|||
7.3.2
|
||||
7.3.2+60bb1c65c5fc8ae51330cff9b402b5ac0a2d34fb
|
Loading…
Add table
Reference in a new issue