fix nav toggle styles

This commit is contained in:
Cory LaViska
2024-06-17 14:15:32 -04:00
parent 301996ed57
commit 1ec44cef06
2 changed files with 5 additions and 7 deletions

View File

@@ -43,15 +43,10 @@
<wa-page>
<header slot="header">
{# Nav toggle #}
<wa-button appearance="text" data-toggle-nav>
<wa-icon name="bars" label="Toggle navigation"></wa-icon>
</wa-button>
{# Logo #}
<div id="docs-branding">
{# Nav toggle #}
<wa-button variant="text" data-toggle-nav>
<wa-button appearance="text" data-toggle-nav>
<wa-icon name="bars" label="Toggle navigation"></wa-icon>
</wa-button>
<a href="/" aria-label="Web Awesome">

View File

@@ -49,9 +49,12 @@ wa-page > header {
wa-button[data-toggle-nav] {
--label-color: currentColor;
margin-inline-end: 0.75rem;
margin-inline-start: -0.875rem;
margin-inline-end: 0;
&::part(base) {
padding: 0;
padding-inline: 0.875rem;
}
}