Use hambutger menu text symbol for navigation roggle button
This commit is contained in:
parent
c5b51e4324
commit
4c5abd1e80
|
@ -1,6 +1,6 @@
|
||||||
<nav class="navbar">
|
<nav class="navbar">
|
||||||
<button class="navbar__toggle" aria-label="Navigation menu toggle">
|
<button class="navbar__toggle" aria-label="Navigation menu toggle">
|
||||||
<i class="fa-solid fa-bars"></i>
|
<span aria-hidden="true">☰</span>
|
||||||
<h2 class="navbar__title">Navigation</h2>
|
<h2 class="navbar__title">Navigation</h2>
|
||||||
</button>
|
</button>
|
||||||
<ul class="navbar__links">
|
<ul class="navbar__links">
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
.navbar__toggle {
|
.navbar__toggle {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.5em;
|
gap: 0.3em;
|
||||||
border: none;
|
border: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
Loading…
Reference in New Issue