mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
Display ToC sections properly (do not trim content)
This commit is contained in:
parent
84e941d50a
commit
9a208addea
@ -1,3 +1,8 @@
|
||||
/* See: https://github.com/adityatelange/hugo-PaperMod/pull/979#issuecomment-1654974106 */
|
||||
html.header-sticky {
|
||||
scroll-padding-top: calc(var(--header-height) * 2);
|
||||
}
|
||||
|
||||
header.header-sticky {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
|
@ -3,7 +3,7 @@
|
||||
{{- end -}}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ site.Language }}" dir="{{ .Language.LanguageDirection | default "auto" }}">
|
||||
<html lang="{{ site.Language }}" dir="{{ .Language.LanguageDirection | default "auto" }}" {{ if (site.Params.stickyHeader) }}class="header-sticky"{{ end }}>
|
||||
|
||||
<head>
|
||||
{{- partial "head.html" . }}
|
||||
|
Loading…
Reference in New Issue
Block a user