Skip to content

Commit

Permalink
chore: reduce cumulative layout shit
Browse files Browse the repository at this point in the history
  • Loading branch information
amareshsm committed May 26, 2022
1 parent 5f5c1fb commit ce16362
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/src/_includes/components/docs-index.html
Expand Up @@ -10,16 +10,16 @@
</li>
{%- endmacro %}

<nav class="docs-index" id="docs-index">
<button class="docs-index-toggle" aria-label="Index" id="js-docs-index-toggle" hidden>
<nav class="docs-index" id="docs-index" >
<button class="docs-index-toggle" aria-label="Index" id="js-docs-index-toggle">
Index
<svg width="20" height="20" viewBox="20 20 60 60">
<path id="ham-top" d="M30,37 L70,37 Z" stroke="currentColor"></path>
<path id="ham-middle" d="M30,50 L70,50 Z" stroke="currentColor"></path>
<path id="ham-bottom" d="M30,63 L70,63 Z" stroke="currentColor"></path>
</svg>
</button>
<ul class="docs-index__list" id="js-docs-index-list">
<ul class="docs-index__list" id="js-docs-index-list" data-open="false">
{%- for entry in navPages %}{{ renderNavListItem(entry) }}{%- endfor -%}
</ul>
</nav>
2 changes: 1 addition & 1 deletion docs/src/_includes/components/nav-version-switcher.html
@@ -1,7 +1,7 @@
<div class="version-switcher">
<a href="/versions/" class="switcher-fallback">Versions</a>

<div hidden role="region" class="switcher switcher--version" aria-labelledby="nav-version-switcher-label" id="nav-version-switcher">
<div role="region" class="switcher switcher--version" aria-labelledby="nav-version-switcher-label" id="nav-version-switcher">
<span id="nav-version-switcher-label" hidden>Language Switcher</span>
<div class="infobox visually-hidden" id="nav-version-infobox">
Selecting a language will take you to the ESLint Web site in that language.
Expand Down
4 changes: 2 additions & 2 deletions docs/src/_includes/components/version-switcher.html
@@ -1,7 +1,7 @@
<div class="version-switcher">
<a href="/versions/" class="switcher-fallback">Versions</a>
<a hidden href="/versions/" class="switcher-fallback">Versions</a>

<div hidden role="region" class="switcher switcher--version" aria-labelledby="version-switcher-label" id="version-switcher">
<div role="region" class="switcher switcher--version" aria-labelledby="version-switcher-label" id="version-switcher">
<span id="version-switcher-label" hidden>Version Switcher</span>
<div class="infobox visually-hidden" id="version-infobox">
Selecting a version will take you to the ESLint Web site for that version.
Expand Down

0 comments on commit ce16362

Please sign in to comment.