I have a Vuetify data table that is nested inside a v-card so that I can enable an inline search on the data table, but this is causing it to shrink down and only take up a small amount of the overall container whereas it was filling the entire container when not nested in the v-card.
I have reproduced a minimal example of this on codepen at https://codepen.io/bigtunacan/project/editor/XGRpVL
The main area of concern though is here.
<v-list-tile @click="">
<v-list-tile-action>
<v-icon>dashboard</v-icon>
</v-list-tile-action>
<v-list-tile-content>
<v-list-tile-title>Dashboard</v-list-tile-title>
</v-list-tile-content>
</v-list-tile>
<v-list-tile @click="">
<v-list-tile-action>
<v-icon>settings</v-icon>
</v-list-tile-action>
<v-list-tile-content>
<v-list-tile-title>Settings</v-list-tile-title>
</v-list-tile-content>
</v-list-tile>
</v-list>
</v-navigation-drawer>
<v-toolbar app fixed clipped-left>
<v-toolbar-side-icon @click.stop="drawer = !drawer"></v-toolbar-side-icon>
<v-toolbar-title>Candy Bars</v-toolbar-title>
</v-toolbar>
<v-content>
<v-container fluid fill-height>
<template>
<v-card>
<v-card-title>
Routes
<v-spacer></v-spacer>
<v-text-field append-icon="search" label="Search" single-line hide-details v-model="search"></v-text-field>
</v-card-title>
<v-data-table v-bind:headers="headers" :items="routes" :search="search" hide-actions class="elevation-1">
<template slot="items" slot-scope="props">
<td><router-link :to="{ name: 'route', params: {id: props.item.id}}">{{ props.item.name }}</router-link></td>
<td>{{ props.item.agency }}</td>
</template>
</v-data-table>
</v-card>
</template>
</v-container>
</v-content>
<v-footer app fixed>
<span>© 2017</span>
</v-footer>
</v-app>