Skip to content

Commit 24950b3

Browse files
authored
docs: update header (#16403)
1 parent 4b70b91 commit 24950b3

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

docs/src/_includes/layouts/base.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<title>{{ page_title }}</title>
2525
<meta name="description" content="{{ page_desc }}">
2626
<link rel="canonical" href="{{ page_url }}">
27-
27+
2828
<!-- https://github.com/eslint/eslint/issues/15844 -->
2929
<base href="{{ relative_page_url }}">
3030

@@ -76,7 +76,7 @@
7676

7777

7878
<style>
79-
79+
8080
/* Overrides for funky punctuators */
8181
@font-face {
8282
font-family: "Mono Punctuators";
@@ -85,7 +85,7 @@
8585
unicode-range: U+40, U+7B, U+7D, U+28, U+29;
8686
font-display: swap;
8787
}
88-
88+
8989
/* Space Grotesk for headings */
9090
@font-face {
9191
font-family: "Space Grotesk";
@@ -136,7 +136,7 @@
136136
<script src="https://unpkg.com/anchor-js@4.3.1/anchor.min.js"></script>
137137
</head>
138138

139-
<body class="{{ hook }} docs">
139+
<body class="{{ hook }}">
140140
<a href="#main" class="c-btn c-btn--primary" id="skip-link">Skip to main content</a>
141141

142142
{{ content | safe }}

docs/src/_includes/layouts/doc.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{% include "partials/docs-header.html" %}
66
{% from 'components/rule-categories.macro.html' import ruleCategories %}
77

8-
<div class="docs-wrapper">
8+
<div class="docs-wrapper docs">
99
<div class="docs-nav">
1010
<div class="desktop-only">
1111
{% include 'components/version-switcher.html' %}
@@ -48,7 +48,7 @@ <h2 id="further-reading">Further Reading</h2>
4848

4949
{% set all_content = [all_content, further_reading_content] | join %}
5050
{% endif %}
51-
51+
5252
{% if rule_meta %}
5353
{% set resources_content %}
5454
<h2 id="resources">Resources</h2>
@@ -76,7 +76,7 @@ <h1>{{ title }}</h1>
7676
{% endif %}
7777

7878
{% include 'components/docs-toc.html' %}
79-
79+
8080
{{ all_content | safe }}
8181
</div>
8282

docs/src/_includes/partials/docs-header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<header class="site-header">
2-
<div class="docs-wrapper">
2+
<div class="docs-wrapper docs">
33
<a href="https://eslint.org" aria-label="ESLint Homepage" class="logo-link">
44
{% include "components/logo.html" %}
55
</a>

0 commit comments

Comments
 (0)