Fix clipping on select, fix another scaling issue

This commit is contained in:
Jai A
2020-09-07 17:37:15 -07:00
parent 3cc5275592
commit 46dc0f144b

View File

@@ -367,6 +367,11 @@ export default {
this.maxResults = Math.floor(vh / 120 - 1) this.maxResults = Math.floor(vh / 120 - 1)
await this.onSearchChange(this.currentPage) 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) { async toggleFilter(elementName) {
const element = document.getElementById(elementName) const element = document.getElementById(elementName)
@@ -587,7 +592,7 @@ export default {
} }
select { select {
width: 200px; width: 220px;
height: 48px; height: 48px;
padding: 0.5rem 0.75rem; padding: 0.5rem 0.75rem;
background: var(--color-bg); background: var(--color-bg);