diff --git a/public/app/css/styles.css b/public/app/css/styles.css index 4b78697d..8776c347 100644 --- a/public/app/css/styles.css +++ b/public/app/css/styles.css @@ -42,13 +42,8 @@ body { overflow-y: hidden; } -.sidebar, main { - max-height: calc(100vh - 45px); - overflow-y: scroll; -} - .joblist { - overflow-y: scroll; + overflow-y: auto; } .sortable{ float: right @@ -230,4 +225,4 @@ code { color: white; padding: 5px 0 0 0; border: none; -} +} \ No newline at end of file diff --git a/public/app/js/main.js b/public/app/js/main.js index 611397c4..be1dea5f 100644 --- a/public/app/js/main.js +++ b/public/app/js/main.js @@ -68,28 +68,28 @@ const app = Vue.component("app", { }, searchForm(name, search, property, limit, skip, refresh, state, object) { this.pagesize = limit ? limit : this.pagesize - this.name = name - this.search = search - this.property = property - this.skip = skip - this.refresh = refresh - this.state = state - this.object = object ? object : this.object + this.name = name + this.search = search + this.property = property + this.skip = skip + this.refresh = refresh + this.state = state + this.object = object ? object : this.object - // Form changed, reset the pagination state - this.pagenumber = 1 - this.totalPages = 1 + // Form changed, reset the pagination state + this.pagenumber = 1 + this.totalPages = 1 - this.fetchData( - this.name, - this.search, - this.property, - this.pagesize, - this.skip, - this.refresh, - this.state, - this.object - ); + this.fetchData( + this.name, + this.search, + this.property, + this.pagesize, + this.skip, + this.refresh, + this.state, + this.object + ); }, refreshData() { this.fetchData( @@ -197,7 +197,7 @@ const app = Vue.component("app", { }, template: ` -
+