mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
hack the headings for sticky header so shit doesn't overlap
This commit is contained in:
parent
33b322e9b5
commit
6bf63cbe67
@ -1,4 +1,4 @@
|
||||
// scss-lint:disable IdSelector, NestingDepth, SelectorDepth
|
||||
// scss-lint:disable IdSelector, NestingDepth, SelectorDepth, QualifyingElement
|
||||
|
||||
//
|
||||
// Automatically style Markdown-based tables like a Bootstrap `.table`.
|
||||
@ -24,6 +24,20 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Hack the sticky header
|
||||
h2[id],
|
||||
h3[id] {
|
||||
&::before {
|
||||
position: relative;
|
||||
z-index: -1;
|
||||
display: block;
|
||||
height: 6rem;
|
||||
margin-top: -6rem;
|
||||
visibility: hidden;
|
||||
content: "";
|
||||
}
|
||||
}
|
||||
|
||||
> table {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
|
Loading…
Reference in New Issue
Block a user