File tree Expand file tree Collapse file tree 1 file changed +55
-15
lines changed
src/apps/review/src/lib/components/ScorecardsFilter Expand file tree Collapse file tree 1 file changed +55
-15
lines changed Original file line number Diff line number Diff line change 110
110
font-weight : 700 ;
111
111
}
112
112
113
- @media (max-width : 768px ) {
114
- flex-direction : column ;
115
- align-items : stretch ;
113
+ }
116
114
117
- > * {
118
- flex : 1 !important ;
119
- width : 100 % ;
120
- }
121
- }
115
+ @media ( max-width : 768 px ) {
116
+ .filtersContainer {
117
+ flex-wrap : wrap ;
118
+ justify-content : center ;
119
+ gap : 1 rem ;
122
120
123
- : global ( .input-el ) {
124
- margin-bottom : 0 ;
125
- padding : 3 px 16 px 3 px 16 px ;
121
+ .inputWrapper {
122
+ flex : 1 1 100 % ;
123
+ min-width : 0 !important ;
126
124
}
127
125
128
- :global(.input-wrapper ) {
129
- height : 38px ;
126
+ // Two filters per row
127
+ .typeSelect ,
128
+ .projectTypeSelect ,
129
+ .categorySelect ,
130
+ .statusSelect ,
131
+ .clearButton {
132
+ flex : 1 1 calc (50% - 0.5rem );
133
+ min-width : 0 ;
130
134
}
135
+ }
136
+ }
131
137
132
- :global(.btn-size-lg ) {
133
- padding : 6px 24px ;
138
+ @media (max-width : 1285px ) and (min-width : 769px ) {
139
+
140
+ .filtersContainer {
141
+
142
+ .typeSelect ,
143
+ .projectTypeSelect ,
144
+ .categorySelect ,
145
+ .statusSelect {
146
+ flex : 1 1 20% ;
147
+ min-width : 0 ;
148
+
149
+ > div :first-child {
150
+ white-space : normal ;
151
+ min-width : 0 ;
152
+ }
134
153
}
154
+ }
155
+ }
135
156
157
+
158
+ @media (max-width : 500px ) {
159
+ .filtersContainer > * {
160
+ flex : 1 1 100% ;
161
+ }
162
+ }
163
+
164
+ :global(.input-el ) {
165
+ margin-bottom : 0 ;
166
+ padding : 3px 16px 3px 16px ;
136
167
}
168
+
169
+ :global(.input-wrapper ) {
170
+ height : 38px ;
171
+ }
172
+
173
+ :global(.btn-size-lg ) {
174
+ padding : 6px 24px ;
175
+ }
176
+
You can’t perform that action at this time.
0 commit comments