<template> <q-toolbar class="text-teal-4 q-mb-sm"> <q-input outlined color="teal-4" v-model="text" label="Type something here" dense class="q-mx-md large-input" /> <q-btn @click="startSearch" color="teal-5">Search</q-btn> <q-space/> </q-toolbar> </template> <script> export default { // name: 'ComponentName', data() { return { text: "" }; }, methods: { startSearch() { this.$router.push("/search"); } } }; </script> <style> .search-inline-form { width: 80%%; margin-right: auto; max-width: 1023px; z-index: 1; } .large-input { width: 50%; min-width: 200px; } </style>