File tree Expand file tree Collapse file tree 2 files changed +45
-1
lines changed
projects/angular/components/ui-grid/src
components/ui-grid-custom-paginator Expand file tree Collapse file tree 2 files changed +45
-1
lines changed Original file line number Diff line number Diff line change @@ -34,9 +34,11 @@ ui-grid-custom-paginator {
34
34
display : flex ;
35
35
align-items : center ;
36
36
justify-content : space-between ;
37
+ flex-wrap : wrap ;
37
38
padding : $mat-paginator-padding ;
38
- flex-wrap : wrap-reverse ;
39
39
width : 100% ;
40
+
41
+ container : footerContainer / inline-size ;
40
42
}
41
43
42
44
.mat-mdc-paginator-page-size {
@@ -90,3 +92,20 @@ ui-grid-custom-paginator {
90
92
}
91
93
}
92
94
}
95
+ @container footerContainer (max-width: 600px) {
96
+ ui-grid-custom-paginator {
97
+ .mat-mdc-paginator-range-label {
98
+ order : 2 ;
99
+ }
100
+
101
+ .mat-mdc-paginator-range-actions {
102
+ order : 1 ;
103
+ inline-size : 100% ;
104
+ justify-content : center ;
105
+ }
106
+
107
+ .mat-mdc-paginator-page-size {
108
+ order : 3 ;
109
+ }
110
+ }
111
+ }
Original file line number Diff line number Diff line change @@ -150,6 +150,10 @@ ui-grid {
150
150
flex-wrap : wrap ;
151
151
align-items : flex-start ;
152
152
153
+
154
+ container : filterContainer / inline-size ;
155
+ width : 100% ;
156
+
153
157
& -lhs-group {
154
158
display : flex ;
155
159
flex-direction : column ;
@@ -776,3 +780,24 @@ ui-grid {
776
780
}
777
781
}
778
782
}
783
+
784
+ @container filterContainer (max-inline-size: 500px) {
785
+ $column-filter-inline-size : 94px ;
786
+ .ui-grid-search {
787
+ inline-size : calc (100% - $column-filter-inline-size ) !important ;
788
+ }
789
+
790
+ .ui-grid-filter-container .mat-mdc-form-field {
791
+ inline-size : 100% !important ;
792
+ }
793
+
794
+ .ui-grid-toggle-columns .mdc-button__label {
795
+ display : none ;
796
+ }
797
+
798
+ .ui-grid-filter-container-lhs-group-actions {
799
+ .mat-divider {
800
+ display : none ;
801
+ }
802
+ }
803
+ }
You can’t perform that action at this time.
0 commit comments