From 1cda2ed87d34ba40e7f60fd7ba63fce8defd11d4 Mon Sep 17 00:00:00 2001 From: Robert von Burg Date: Tue, 7 Sep 2021 15:18:17 +0200 Subject: [PATCH] [Fix] Fixed small details --- bower.json | 2 +- strolch-wc-reports-facet.html | 2 +- strolch-wc-reports.html | 61 +++++++++++++++++++++++------------ 3 files changed, 42 insertions(+), 23 deletions(-) diff --git a/bower.json b/bower.json index 7d2d2ae..b0fec95 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "strolch-wc-reports", "description": "Strolch WebComponent Reports", - "version": "0.3.1", + "version": "0.3.2", "authors": [ "Robert von Burg" ], diff --git a/strolch-wc-reports-facet.html b/strolch-wc-reports-facet.html index 58eb47e..768dafa 100644 --- a/strolch-wc-reports-facet.html +++ b/strolch-wc-reports-facet.html @@ -252,7 +252,7 @@ if (newValue != null && oldValue != null) { this.$.ajaxGetFields.params = { query: newValue, - limit: this.facetLimit + limit: 10 }; this.$.ajaxGetFields.generateRequest(); } diff --git a/strolch-wc-reports.html b/strolch-wc-reports.html index b5efbbd..a75a16a 100644 --- a/strolch-wc-reports.html +++ b/strolch-wc-reports.html @@ -34,7 +34,7 @@ @media screen { :host { --box-space: 12px; - --facet-width-opened: 300px; + --facet-width-opened: 350px; --facet-width-closed: 22px; --facet-width: var(--facet-width-opened); --table-width: calc(100vw - var(--facet-width) - 30px); @@ -60,7 +60,7 @@ #actionBar { @apply(--layout-horizontal); - width: 100%; + width: calc(100vw - 30px); padding: 0 12px; background-color: white; } @@ -116,10 +116,12 @@ flex-shrink: 0; margin-left: 10px; margin-right: calc(var(--box-space) * 0.5); + height: calc(100vh - 140px); + overflow: auto; } strolch-wc-reports-facet { - width: 300px; + width: calc(var(--facet-width) - 20px); } #facetContainer > strolch-wc-reports-facet:not(:last-of-type) { @@ -131,7 +133,7 @@ } strolch-wc-reports-table { - height: calc(100vh - 190px); + height: calc(100vh - 195px); width: var(--table-width); } @@ -223,6 +225,10 @@ .limitBtn { min-width: inherit; } + + .bold { + font-weight: bold; + } } @@ -354,12 +360,15 @@ data="[[data]]"> -