Skip to content

Commit

Permalink
Fix Algolia page for release notes (#16907)
Browse files Browse the repository at this point in the history
* Add an h1 for Algolia

* Fix markdown styles
  • Loading branch information
JasonEtco authored Dec 11, 2020
1 parent 23ef572 commit 21b44e0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions layouts/release-notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{% include header %}
{% include deprecation-banner %}

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

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

{% if nextRelease %}
<a
Expand All @@ -37,7 +37,7 @@
{% endif %}
</div>

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

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

0 comments on commit 21b44e0

Please sign in to comment.