Skip to content

Commit

Permalink
UI: Integrations minor style improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
deaflynx committed Feb 28, 2025
1 parent 5cb2c0f commit f2067f8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 45 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
@if (!isNew) {
<ng-container *ngTemplateOutlet="topicFilters"></ng-container>
}
<mat-form-field class="mat-block flex-1" appearance="outline">
<mat-form-field class="mat-block" appearance="outline">
<mat-label translate>integration.endpoint-url</mat-label>
<input matInput formControlName="restEndpointUrl" required>
<tb-copy-button matSuffix
Expand All @@ -38,7 +38,7 @@
</mat-error>
}
</mat-form-field>
<mat-form-field class="mat-block flex-1" appearance="outline">
<mat-form-field class="mat-block" appearance="outline">
<mat-label translate>integration.request-method</mat-label>
<mat-select formControlName="requestMethod">
@for (requestType of httpRequestTypes; track requestType) {
Expand All @@ -48,7 +48,7 @@
}
</mat-select>
</mat-form-field>
<section class="flex flex-col gap-4">
<section class="mb-3 flex flex-col gap-3">
<tb-integration-credentials formControlName="credentials" [passwordOptional]="false"
[allowCredentialTypes]="[IntegrationCredentialType.Anonymous,
IntegrationCredentialType.Basic,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,6 @@
* limitations under the License.
*/
:host ::ng-deep {
.security-setting {
.mat-content {
overflow: visible;
}
.mat-expansion-panel-body {
padding: 0;
.security-setting-content {
display: block;
margin: 0 16px 12px;
}
}
}

.toggle {
margin: 0 0 16px;
}

.checkbox {
padding: 8px 0 8px;
}

.mat-expansion-panel-body {
padding: 0 0 16px;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,6 @@
* limitations under the License.
*/
:host ::ng-deep {
.security-setting {
.mat-content {
overflow: visible;
}
.mat-expansion-panel-body {
padding: 0;
.security-setting-content {
display: block;
margin: 0 16px 12px;
}
}
}

.toggle {
margin: 0 0 16px;
}

.checkbox {
padding: 8px 0 8px;
}

.mat-expansion-panel-body {
padding: 0 0 16px;
}
Expand Down

0 comments on commit f2067f8

Please sign in to comment.