Kaynağa Gözat

added Center & Library to mobile menu

pull/229/head
Alej 1 yıl önce
ebeveyn
işleme
b08e1964f2

+ 12
- 5
vue-theme/src/components/navigation/navigation.vue Dosyayı Görüntüle

@@ -109,10 +109,11 @@ nav.main.w-max
109 109
         ul.drop-down.w-max.t-up
110 110
             li.f-col.center
111 111
                 h5
112
-                    input(v-model="searchTerms" @keyup.enter="sendSearch" tabindex="10")
113
-                    button(@click="sendSearch" tabindex="11")  🔍 search 
112
+                    .search-item
113
+                        input(v-model="searchTerms" @keyup.enter="sendSearch" tabindex="10")
114
+                        button(@click="sendSearch" tabindex="11")  🔍 search 
114 115
             li(v-for="item in menuItems").f-row.center
115
-                router-link(@click="uncheck" v-if="item == 'about' || item == 'donate'" :to="`/page/${item}`")
116
+                router-link(@click="uncheck" v-if="item == 'about' || item == 'donate' || item == 'center' || item == 'library'" :to="`/page/${item}`")
116 117
                     h5 {{ item }}
117 118
                 router-link(@click="uncheck" v-else= "" :to="`/${item}`")
118 119
                     h5 {{ item }}
@@ -152,8 +153,9 @@ export default {
152 153
          */
153 154
         const menuItems = computed(() => {
154 155
             const extras = [
156
+                'center',
157
+                'library',
155 158
                 'blog',
156
-                // 'artist-resources',
157 159
                 'donate',
158 160
                 'about',
159 161
             ]
@@ -220,6 +222,8 @@ nav.main
220 222
             top: 36px
221 223
             padding: 0
222 224
             input
225
+                height: $ms-4
226
+                vertical-align: middle
223 227
                 width: 50%
224 228
                 font-size: $ms-2
225 229
 
@@ -293,7 +297,10 @@ nav.main
293 297
                 color: $cia_darker
294 298
                 cursor: pointer
295 299
         /* make this menu style for $small min-width 480px screen */
296
-        input
300
+        input, button
301
+                input, button 
302
+            height: $ms-6
303
+            vertical-align: middle
297 304
             &.hide
298 305
                 display: none
299 306
                 cursor: pointer

Loading…
İptal
Kaydet