@sumaris-net/ngx-components 2.4.102 → 2.4.103

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": "2.4.102",
4
+ "version": "2.4.103",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -627,12 +627,22 @@ ion-list {
627
627
  }
628
628
  }
629
629
 
630
-
631
630
  .mat-header-row {
632
631
  height: var(--app-table-header-height, 52px);
633
632
  border-bottom: 1px solid #{$app-table-border-color};
634
633
  }
635
634
 
635
+ // Auto hide sort header, when the column is not sorted
636
+ // (useful to minimize the column width - e.g. on mobile device)
637
+ &.mat-table-hide-sort-arrow {
638
+ .mat-sort-header-arrow {
639
+ transition: none !important;
640
+ }
641
+ .mat-sort-header-arrow:not([style*="opacity: 1"]) {
642
+ display: none;
643
+ }
644
+ }
645
+
636
646
  .mat-header-row,
637
647
  .mat-row,
638
648
  .mat-footer-row {
@@ -865,6 +875,7 @@ ion-list {
865
875
  &.compact .mat-row,
866
876
  .mat-row.mat-row-small {
867
877
  min-height: inherit;
878
+ --mat-row-height: 33px;
868
879
  --mat-row-max-height: 33px;
869
880
  }
870
881
  .mat-row.mat-row-small .mat-cell,
@@ -945,8 +956,7 @@ ion-list {
945
956
  &.compact {
946
957
 
947
958
  .mat-row {
948
-
949
- height: 33px;
959
+ --mat-row-height: 33px;
950
960
 
951
961
  ion-label {
952
962
  display: inline-block;