Skip to content

Commit 8a89d84

Browse files
committed
move patch version ID to outer div
1 parent 25ddfe3 commit 8a89d84

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

layouts/release-notes.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ <h1 class="f4 py-3 m-0">{{ currentVersion | version_num }} Release notes</h1>
3939

4040
<div class="markdown-body">
4141
{% for patch in releaseNotes %}
42-
<div class="js-release-notes-patch mb-10 bg-gray-light pb-6 border-bottom border-top" data-version="{{ patch.version }}">
42+
<div class="js-release-notes-patch mb-10 bg-gray-light pb-6 border-bottom border-top" data-version="{{ patch.version }}" id="{{ patch.version }}">
4343
<header class="container-xl position-sticky top-0 bg-gray-light border-bottom px-3 pt-4 pb-2 js-release-notes-patch-heading" data-version="{{ patch.version }}">
4444
<div class="d-flex flex-items-center">
4545
<h2 class="border-bottom-0 m-0 p-0">
@@ -62,7 +62,7 @@ <h2 class="border-bottom-0 m-0 p-0">
6262
<p class="text-gray mt-1">{{ patch.date | date: "%B %d, %Y" }}</p>
6363
</header>
6464

65-
<div class="container-xl px-3" id="{{ patch.version }}">
65+
<div class="container-xl px-3">
6666
<div class="mt-3">{{ patch.intro }}</div>
6767

6868
{% for section in patch.sections %}

0 commit comments

Comments
 (0)