Skip to content

Commit

Permalink
fix: searchmodal pagination layout
Browse files Browse the repository at this point in the history
  • Loading branch information
WDaan committed Mar 13, 2021
1 parent 6f9a5d5 commit a9a9aff
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 23 deletions.
42 changes: 21 additions & 21 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -43,7 +43,7 @@
"@vue/eslint-config-prettier": "^6.0.0",
"@vue/test-utils": "^1.1.3",
"babel-eslint": "^10.1.0",
"eslint": "^7.21.0",
"eslint": "^7.22.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-vue": "^7.7.0",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Modals/SearchModal/PluginManager.vue
Expand Up @@ -5,7 +5,7 @@
</v-btn>

<v-bottom-sheet
v-if="this.$vuetify.breakpoint.smAndDown"
v-if="$vuetify.breakpoint.smAndDown"
v-model="opened"
scrollable
inset
Expand Down
16 changes: 16 additions & 0 deletions src/components/Modals/SearchModal/SearchModal.vue
Expand Up @@ -42,6 +42,7 @@
</v-form>
<perfect-scrollbar>
<v-data-table
id="searchTable"
:headers="grid.headers"
:items="search.results"
:items-per-page="10"
Expand Down Expand Up @@ -180,3 +181,18 @@ export default {
}
}
</script>

<style lang="scss">
#searchTable {
.v-data-footer {
justify-content: center;
}
.v-data-footer__pagination {
margin: 0 8px;
}
.v-select__slot {
width: 4em;
}
}
</style>

0 comments on commit a9a9aff

Please sign in to comment.