Skip to content

Commit 5206918

Browse files
committed
small css fix
1 parent 2b41640 commit 5206918

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/app/datasets/datasets-filter/datasets-filter.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
</mat-expansion-panel-header>
6262

6363
<div class="condition-details">
64-
<mat-form-field appearance="outline">
64+
<mat-form-field appearance="outline" class="condition-fields">
6565
<mat-label>Operator</mat-label>
6666
<mat-select
6767
[value]="conditionConfig.condition.relation"
@@ -78,7 +78,7 @@
7878
</mat-select>
7979
</mat-form-field>
8080

81-
<mat-form-field appearance="outline">
81+
<mat-form-field appearance="outline" class="condition-fields">
8282
<mat-label>Value</mat-label>
8383
<input
8484
matInput
@@ -88,7 +88,7 @@
8888
</mat-form-field>
8989

9090
<ng-template [ngIf]="appConfig.scienceSearchUnitsEnabled">
91-
<mat-form-field appearance="outline">
91+
<mat-form-field appearance="outline" class="condition-fields">
9292
<mat-label>Unit</mat-label>
9393
<input
9494
matInput

src/app/datasets/datasets-filter/datasets-filter.component.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,5 +152,10 @@ mat-card {
152152
}
153153
}
154154
}
155+
156+
.condition-fields {
157+
margin-left: -20px;
158+
width: calc(100% + 40px);
159+
}
155160
}
156161
}

0 commit comments

Comments
 (0)