@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/bundles/sumaris-net.ngx-components.umd.js +2 -1
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/esm2015/src/app/core/core.module.js +3 -1
- package/esm2015/src/app/core/form/list.form.js +1 -1
- package/esm2015/src/app/core/text-popover/text-form.component.js +1 -1
- package/fesm2015/sumaris-net.ngx-components.js +2 -1
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/theme/_ngx-components.globals.scss +1 -0
- package/src/theme/_ngx-components.scss +7 -6
- package/sumaris-net.ngx-components.metadata.json +1 -1
package/package.json
CHANGED
|
@@ -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
|
|
817
|
+
&.compact .mat-row,
|
|
818
|
+
.mat-row.mat-row-small {
|
|
818
819
|
min-height: inherit;
|
|
819
|
-
max-height: 33px
|
|
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
|
}
|