You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by te...@apache.org on 2020/03/06 08:30:38 UTC

[incubator-streampipes] branch STREAMPIPES-79 updated: [STREAMPIPES-79] fix table scrolling

This is an automated email from the ASF dual-hosted git repository.

tex pushed a commit to branch STREAMPIPES-79
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git


The following commit(s) were added to refs/heads/STREAMPIPES-79 by this push:
     new 101a2b5  [STREAMPIPES-79] fix table scrolling
101a2b5 is described below

commit 101a2b51623071976b970a5ee0575c037ebabd86
Author: tex <te...@fzi.de>
AuthorDate: Fri Mar 6 09:30:18 2020 +0100

    [STREAMPIPES-79] fix table scrolling
---
 .../components/widgets/table/table-widget.component.css          | 9 +++++++++
 .../components/widgets/table/table-widget.component.html         | 8 ++------
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/ui/src/app/data-explorer-v2/components/widgets/table/table-widget.component.css b/ui/src/app/data-explorer-v2/components/widgets/table/table-widget.component.css
index eaf8444..aafdad6 100644
--- a/ui/src/app/data-explorer-v2/components/widgets/table/table-widget.component.css
+++ b/ui/src/app/data-explorer-v2/components/widgets/table/table-widget.component.css
@@ -33,4 +33,13 @@
 
 .title-panel {
     font-size:20px;
+}
+
+.assemblyOptionsDataExplorer {
+    color: white;
+    padding: 5px;
+}
+
+::ng-deep .mat-form-field-wrapper {
+    padding: 0px !important;
 }
\ No newline at end of file
diff --git a/ui/src/app/data-explorer-v2/components/widgets/table/table-widget.component.html b/ui/src/app/data-explorer-v2/components/widgets/table/table-widget.component.html
index 87c9b30..8b6aaf8 100644
--- a/ui/src/app/data-explorer-v2/components/widgets/table/table-widget.component.html
+++ b/ui/src/app/data-explorer-v2/components/widgets/table/table-widget.component.html
@@ -19,7 +19,7 @@
 <!--<div>-->
 
 <div fxLayout="column" fxLayoutAlign="stretch">
-    <div class="assemblyOptions sp-blue-bg m-0 row header h-40" style="margin-left: 0px;margin-right: 0px;">
+    <div class="assemblyOptionsDataExplorer sp-blue-bg m-0 row header h-40" style="margin-left: 0px;margin-right: 0px;">
         <div fxFlex="100" layout="row" fxLayoutAlign="end center" style="margin-left: 0px;margin-right: 0px;">
             <mat-form-field appearance="outline">
                 <mat-label>Select Columns</mat-label>
@@ -49,11 +49,7 @@
     <!--</div>-->
 
 
-    <!--<div style="overflow-y: auto; max-height: calc(100% - 40px);">-->
-        <div style=" display: flex;
-  align-items: stretch;
-  height: 100%;
-  min-height: 100px;">
+    <div style=" overflow-y: auto;" [style.max-height.px]="gridsterItem.rows * 100 - 40">
         <table mat-table [dataSource]="dataSource" matSort>
 
             <ng-container *ngFor="let element of this.selectedColumns" [cdkColumnDef]="element">