mirror of https://github.com/docker/docs.git
Merge pull request #18771 from dvdksn/scroll-margin-h1
fix: add scroll margin for h1s
This commit is contained in:
commit
84d4762555
|
@ -14,7 +14,7 @@
|
|||
{{ partial "breadcrumbs.html" . }}
|
||||
<article class="DocSearch-content prose max-w-none dark:prose-invert">
|
||||
{{ with .Title }}
|
||||
<h1 id="{{ anchorize . }}">{{ . }}</h1>
|
||||
<h1 id="{{ anchorize . }}" class="scroll-mt-36">{{ . }}</h1>
|
||||
{{ end }}
|
||||
{{ $data.short | .RenderString (dict "display" "block") }}
|
||||
{{ if $data.deprecated }}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
{{ partial "breadcrumbs.html" . }}
|
||||
<article class="DocSearch-content prose max-w-none dark:prose-invert">
|
||||
{{ with .Title }}
|
||||
<h1 id="{{ anchorize . }}">{{ . }}</h1>
|
||||
<h1 id="{{ anchorize . }}" class="scroll-mt-36">{{ . }}</h1>
|
||||
{{ end }}
|
||||
<table>
|
||||
<thead>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
{{ partial "breadcrumbs.html" . }}
|
||||
<article class="DocSearch-content prose max-w-none dark:prose-invert">
|
||||
{{ with .Title }}
|
||||
<h1 id="{{ anchorize . }}">{{ . }}</h1>
|
||||
<h1 id="{{ anchorize . }}" class="scroll-mt-36">{{ . }}</h1>
|
||||
{{ end }}
|
||||
{{ .Content }}
|
||||
</article>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
{{ partial "breadcrumbs.html" . }}
|
||||
<article class="DocSearch-content prose max-w-none dark:prose-invert">
|
||||
{{ with .Title }}
|
||||
<h1 id="{{ anchorize . }}">{{ . }}</h1>
|
||||
<h1 id="{{ anchorize . }}" class="scroll-mt-36">{{ . }}</h1>
|
||||
{{ end }}
|
||||
{{ .Content }}
|
||||
</article>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
{{ partial "breadcrumbs.html" . }}
|
||||
<article class="DocSearch-content prose max-w-none dark:prose-invert">
|
||||
{{ with .Title }}
|
||||
<h1 id="{{ anchorize . }}">{{ . }}</h1>
|
||||
<h1 id="{{ anchorize . }}" class="scroll-mt-36">{{ . }}</h1>
|
||||
{{ end }}
|
||||
<blockquote>
|
||||
<p><strong>Note</strong></p>
|
||||
|
|
Loading…
Reference in New Issue