Browse Source

Moved search bar to top on mobile

tags/1.0.3
Alej 2 years ago
parent
commit
df72fd2207
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      vue-theme/src/components/navigation/navigation.vue

+ 4
- 4
vue-theme/src/components/navigation/navigation.vue View File

@@ -113,15 +113,15 @@ nav.main.w-max
113 113
         input(id="toggle-mobile-menu" type="checkbox").hide
114 114
 
115 115
         ul.drop-down.w-max.t-up
116
+            li.f-col.center
117
+                h5
118
+                    input(v-model="searchTerms" @keyup.enter="sendSearch" tabindex="10")
119
+                    button(@click="sendSearch" tabindex="11")  🔍 search 
116 120
             li(v-for="item in menuItems").f-row.center
117 121
                 router-link(@click="uncheck" v-if="item == 'about' || item == 'donate'" :to="`/page/${item}`")
118 122
                     h5 {{ item }}
119 123
                 router-link(@click="uncheck" v-else= "" :to="`/${item}`")
120 124
                     h5 {{ item }}
121
-            li.f-col.center
122
-                h5
123
-                    input(v-model="searchTerms" @keyup.enter="sendSearch" tabindex="10")
124
-                    button(@click="sendSearch" tabindex="11") 🔍 search
125 125
 
126 126
 </template>
127 127
 

Loading…
Cancel
Save