mirror of
https://github.com/expressjs/expressjs.com.git
synced 2026-02-22 03:51:33 +00:00
Eliminate layout shift in menu toggle arrow with CSS-only solution (#1935)
refactor menu toggle arrow
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<button id="menu-toggle" title="show table of content">On this page <span>►</span></button>
|
||||
<button id="menu-toggle" title="show table of content">On this page</button>
|
||||
<ul id="menu">
|
||||
<li><a href="#express">express()</a></li>
|
||||
<li id="app-api"> <a href="#application">Application</a>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<button id="menu-toggle" title="show table of content">On this page <span>►</span></button>
|
||||
<button id="menu-toggle" title="show table of content">On this page</button>
|
||||
<ul id="menu">
|
||||
<li id="express-api"><a href="#express">express()</a>
|
||||
<ul id="express-menu">
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<button id="menu-toggle" title="show table of content">On this page <span>►</span></button>
|
||||
<button id="menu-toggle" title="show table of content">On this page</button>
|
||||
<ul id="menu">
|
||||
<li id="express-api"><a href="#express">express()</a>
|
||||
<ul id="express-menu">
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<button id="menu-toggle" title="show blogs list">All Blogs <span>►</span></button>
|
||||
<button id="menu-toggle" title="show blogs list">All Blogs</button>
|
||||
<ul id="menu" class="blog-side-menu">
|
||||
<li>
|
||||
<ul id="side-menu" class="active">
|
||||
|
||||
Reference in New Issue
Block a user