align toc sidebar properly
This commit is contained in:
parent
a44cdf0782
commit
202fdf1ec1
|
@ -89,11 +89,17 @@
|
||||||
grid-template-columns: 1fr min(92%, 50rem);
|
grid-template-columns: 1fr min(92%, 50rem);
|
||||||
|
|
||||||
.sidebar {
|
.sidebar {
|
||||||
|
display: inline-block;
|
||||||
align-self: start;
|
align-self: start;
|
||||||
|
justify-self: end;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
padding: 0 1.5rem;
|
padding: 0 1.5rem;
|
||||||
|
|
||||||
|
ol {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
margin-top: 1.5rem;
|
margin-top: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue