File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ a.logo
186186 z-index set-index ('overlay' ) + 1
187187 position absolute
188188 top 1rem
189- right 1 rem
189+ right 0.75 rem
190190 background-color $off-black
191191 color $primary
192192 font-weight 700
Original file line number Diff line number Diff line change @@ -136,4 +136,11 @@ main
136136 font-size 24px
137137 line-height 26px
138138 width 26px
139- height 26px
139+ height 26px
140+
141+ .mapboxgl-ctrl-top-right
142+ top 3.5rem
143+ right 0.2rem
144+ display none
145+ +mq ('bp-5' )
146+ display block
Original file line number Diff line number Diff line change @@ -151,6 +151,8 @@ function setupMap() {
151151 map . on ( 'mousedown' , hideHeader ) ;
152152 map . on ( 'touchstart' , hideHeader ) ;
153153 map . on ( 'load' , addLocation ) ;
154+
155+ map . addControl ( new mapboxgl . NavigationControl ( { showCompass : false } ) ) ;
154156}
155157
156158function setupUI ( ) {
You can’t perform that action at this time.
0 commit comments