# HG changeset patch # User Thomas Junk # Date 1561457085 -7200 # Node ID 7ca3b288ac5e1c2a56b6c471a928517d435f1a8d # Parent ac12e135d4b80abfe2ec1bcb2a697ed0af714354 virtual_scrolling: size parameter diff -r ac12e135d4b8 -r 7ca3b288ac5e client/src/components/importoverview/AdditionalLog.vue --- a/client/src/components/importoverview/AdditionalLog.vue Tue Jun 25 08:58:35 2019 +0200 +++ b/client/src/components/importoverview/AdditionalLog.vue Tue Jun 25 12:04:45 2019 +0200 @@ -5,7 +5,7 @@ { split: showAdditional } ]" > - + - @@ -93,7 +54,19 @@ Item: () => import("./LogItem.vue") }, computed: { - ...mapState("imports", ["showAdditional", "details"]) + ...mapState("imports", ["showAdditional", "details"]), + scrollistConfig() { + const smallLayout = { + size: 10, + remain: 20 + }; + const largeLayout = { + size: 12, + remain: 22 + }; + if (this.showAdditional) return smallLayout; + return largeLayout; + } } }; diff -r ac12e135d4b8 -r 7ca3b288ac5e client/src/components/importoverview/LogItem.vue --- a/client/src/components/importoverview/LogItem.vue Tue Jun 25 08:58:35 2019 +0200 +++ b/client/src/components/importoverview/LogItem.vue Tue Jun 25 12:04:45 2019 +0200 @@ -44,13 +44,13 @@