Skip to content

Commit 00d1cd7

Browse files
committed
navigation-toggle
1 parent 884c8c0 commit 00d1cd7

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

src/v2/components/header/Header.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,18 @@ export class Header extends LitElement {
103103
height: 3.75rem;
104104
}
105105
106+
::slotted([slot='navigation-toggle']) {
107+
display: inline-flex;
108+
align-items: center;
109+
justify-content: center;
110+
flex-shrink: 0;
111+
margin-right: 0.75rem;
112+
}
113+
114+
:host([layout='desktop']) ::slotted([slot='navigation-toggle']) {
115+
display: none !important;
116+
}
117+
106118
.brand {
107119
display: flex;
108120
align-items: center;
@@ -797,6 +809,7 @@ export class Header extends LitElement {
797809
render () {
798810
return html`
799811
<div class="headerInner">
812+
<slot name="navigation-toggle"></slot>
800813
<a
801814
id="brandLink"
802815
class="brand"

0 commit comments

Comments
 (0)