Skip to content

Commit 8a11aee

Browse files
fast filters: fix alignment
1 parent e06d62d commit 8a11aee

2 files changed

Lines changed: 8 additions & 9 deletions

File tree

frontend/src/app/components/dashboard/db-table-view/saved-filters-panel/saved-filters-dialog/saved-filters-dialog.component.css

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120

121121
.dynamic-column-radio {
122122
grid-column: 6;
123-
margin-top: 0;
123+
margin-top: -16px;
124124
align-self: center;
125125
}
126126

@@ -286,7 +286,7 @@
286286

287287
.column-name {
288288
grid-column: 2;
289-
margin-top: 0;
289+
margin-top: -8px;
290290
align-self: center;
291291
}
292292

@@ -309,7 +309,7 @@
309309

310310
.filter-delete-button {
311311
grid-column: 1;
312-
margin-top: 0;
312+
margin-top: -20px;
313313
margin-right: 0;
314314
margin-left: 0;
315315
align-self: center;
@@ -363,7 +363,6 @@
363363
.comparator-select-field ::ng-deep .mat-mdc-form-field-infix {
364364
width: 100% !important;
365365
min-width: fit-content;
366-
padding-right: 40px;
367366
padding-left: 0;
368367
position: relative;
369368
}

frontend/src/app/components/dashboard/db-table-view/saved-filters-panel/saved-filters-panel.component.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
.saved-filters-container {
22
display: flex;
33
flex-direction: column;
4-
gap: 8px;
5-
margin-bottom: 12px;
64
}
75

86
.saved-filters-list {
97
display: flex;
108
align-items: center;
119
gap: 16px;
10+
margin-bottom: 12px;
1211
}
1312

1413
.saved-filters-list__first-time-button {
@@ -167,6 +166,7 @@
167166
display: flex;
168167
align-items: center;
169168
gap: 20px;
169+
margin-top: -8px;
170170
transform: translateX(-10%) scale(0.8);
171171
}
172172

@@ -178,12 +178,12 @@
178178
}
179179

180180
.filters-where-label {
181+
flex-shrink: 0;
181182
display: flex;
182183
align-items: center;
183184
gap: 4px;
184-
font-weight: 500;
185+
margin-top: -2px !important;
185186
white-space: nowrap;
186-
flex-shrink: 0;
187187
}
188188

189189
.filters-where-label .column-name-icon {
@@ -216,7 +216,7 @@
216216
}
217217

218218
.column-name {
219-
margin-top: -8px;
219+
margin-top: -4px !important;
220220
display: flex;
221221
align-items: center;
222222
gap: 4px;

0 commit comments

Comments
 (0)