From 46dc0f144b9fc3062c7ead1a9e6fcc4b099fa5f9 Mon Sep 17 00:00:00 2001 From: Jai A Date: Mon, 7 Sep 2020 17:37:15 -0700 Subject: [PATCH] Fix clipping on select, fix another scaling issue --- pages/mods.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pages/mods.vue b/pages/mods.vue index 73b44793f..db409755d 100644 --- a/pages/mods.vue +++ b/pages/mods.vue @@ -367,6 +367,11 @@ export default { this.maxResults = Math.floor(vh / 120 - 1) await this.onSearchChange(this.currentPage) + + if (this.currentPage > this.pages[this.pages.length - 1]) { + this.currentPage = this.pages[this.pages.length - 1] + await this.onSearchChange(this.currentPage) + } }, async toggleFilter(elementName) { const element = document.getElementById(elementName) @@ -587,7 +592,7 @@ export default { } select { - width: 200px; + width: 220px; height: 48px; padding: 0.5rem 0.75rem; background: var(--color-bg);