Skip to content

Commit 21b44e0

Browse files
authored
Fix Algolia page for release notes (#16907)
* Add an h1 for Algolia * Fix markdown styles
1 parent 23ef572 commit 21b44e0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

layouts/release-notes.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{% include header %}
1212
{% include deprecation-banner %}
1313

14-
<div class="markdown-body d-flex flex-items-stretch">
14+
<div class="d-flex flex-items-stretch">
1515
<article class="flex-auto">
1616
<div class="d-flex flex-items-center flex-justify-between bg-white text-bold py-4 px-5">
1717
{% if prevRelease %}
@@ -24,7 +24,7 @@
2424
<div></div>
2525
{% endif %}
2626

27-
{{ currentVersion | version_num }} Release notes
27+
<h1 class="f4 p-0 m-0">{{ currentVersion | version_num }} Release notes</h1>
2828

2929
{% if nextRelease %}
3030
<a
@@ -37,7 +37,7 @@
3737
{% endif %}
3838
</div>
3939

40-
<div>
40+
<div class="markdown-body">
4141
{% for patch in releaseNotes %}
4242
<div id="{{ patch.version }}" class="mb-10 bg-gray-light px-3 py-6 border-bottom border-top">
4343
<header class="container-xl position-sticky top-0 bg-gray-light border-bottom pb-2">
@@ -95,7 +95,7 @@ <h2 class="d-flex flex-items-center border-bottom-0 mr-3 mb-0">
9595
</div>
9696
</article>
9797

98-
<aside class="d-none d-md-block border-left no-print bg-white flex-shrink-0" style="width: 300px">
98+
<aside class="markdown-body d-none d-md-block border-left no-print bg-white flex-shrink-0" style="width: 300px">
9999
<nav class="position-sticky top-0">
100100
<ul class="list-style-none pl-0 text-bold">
101101
{% for release in releases %}

0 commit comments

Comments
 (0)