File tree Expand file tree Collapse file tree 5 files changed +20
-14
lines changed
Expand file tree Collapse file tree 5 files changed +20
-14
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,5 @@ Micromodal.init({
99Micromodal . init ( {
1010 openTrigger : 'data-drawer-midd-hub' ,
1111 closeTrigger : 'data-drawer-close' ,
12- disableScroll : false ,
13- onShow : ( ) => {
14- document . body . classList . add ( 'has-toggled-elem' ) ;
15- } ,
16- onClose : ( ) => {
17- document . body . classList . remove ( 'has-toggled-elem' ) ;
18- }
12+ disableScroll : false
1913} ) ;
Original file line number Diff line number Diff line change 6666 @include breakpoints .breakpoint (lg) {
6767 margin-right : - #{variables .$spacing-5 } ;
6868 }
69+
70+ & .is-open {
71+ display : none ;
72+ }
6973 }
7074
7175 .drawer__overlay {
Original file line number Diff line number Diff line change 3131 }
3232}
3333
34+ .site-header--midd-hub {
35+ .school-nav :focus-within {
36+ .drawer--midd-hub.is-open {
37+ display : block ;
38+ }
39+ }
40+ }
41+
3442.school-nav__menu {
3543 nav :first-child {
3644 margin-top : variables .$spacing-3 ;
Original file line number Diff line number Diff line change 4848 <span class =" d-none d-lg-inline mr-2" >Sections</span >
4949 {% include ' partials/icon.twig' with { name : ' bars' } %}
5050 </button >
51-
51+
52+ {% embed ' partials/midd-hub-nav.twig'
53+ with {
54+ title : ' Navigation'
55+ }
56+ %}
5257 </div >
5358
54- {% embed ' partials/midd-hub-nav.twig'
55- with {
56- title : ' Navigation'
57- }
58- %}
5959 {% endembed %}
6060 </div >
6161 </div >
Original file line number Diff line number Diff line change 1818 {% for item in site_nav .items %}
1919 <li class =" drawer-nav__item" >
2020
21- <a href =" " class =" drawer-nav__link drawer-nav__link--top" >{{item .text }}</a >
21+ <a href =" #section-label " class =" drawer-nav__link drawer-nav__link--top" >{{item .text }}</a >
2222
2323 {% if item .items %}
2424 <button
You can’t perform that action at this time.
0 commit comments