@sumaris-net/ngx-components 1.19.10 → 1.19.11-rc3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "1.19.10",
4
+ "version": "1.19.11-rc3",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -7,6 +7,7 @@ $app-form-color-disabled: rgba(0, 0, 0, 0.55) !default;
7
7
 
8
8
  $app-table-header-height: 44px !default;
9
9
  $app-table-cell-vertical-padding: 8px !default;
10
+ $app-table-row-height: 48px !default;
10
11
  $app-table-row-max-height: 52px !default;
11
12
 
12
13
  $app-paginator-height: 34px !default;
@@ -591,7 +591,9 @@ ion-list {
591
591
  .mat-row,
592
592
  .mat-footer-row {
593
593
  --mat-cell-vertical-padding: #{$app-table-cell-vertical-padding};
594
+ --mat-row-height: #{$app-table-row-height};
594
595
  --mat-row-max-height: #{$app-table-row-max-height};
596
+ height: calc(min(var(--mat-row-height), var(--mat-row-max-height)));
595
597
  max-height: var(--mat-row-max-height);
596
598
 
597
599
  // Reserve space for row dirty border
@@ -811,15 +813,14 @@ ion-list {
811
813
  }
812
814
  }
813
815
 
814
-
815
-
816
816
  /* Special case to have small row */
817
- .mat-row-small {
817
+ &.compact .mat-row,
818
+ .mat-row.mat-row-small {
818
819
  min-height: inherit;
819
- max-height: 33px !important;
820
+ --mat-row-max-height: 33px;
820
821
  }
821
- .mat-row.mat-small .mat-cell,
822
- .mat-row .mat-cell.mat-small{
822
+ .mat-row.mat-row-small .mat-cell,
823
+ .mat-row .mat-cell.mat-row-small{
823
824
  line-height: 15px;
824
825
  @include font-size(12px);
825
826
  }