Merge pull request #10117 from iraznatovskyi/fix-connector-rpc-table
Fixed RPC connectors table collapsing also fixed JSON field height when this widget looks as a column
This commit is contained in:
commit
ed70ca3f9a
@ -80,7 +80,7 @@
|
|||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-container matColumnDef="actions" stickyEnd>
|
<ng-container matColumnDef="actions" stickyEnd>
|
||||||
<mat-header-cell *matHeaderCellDef
|
<mat-header-cell *matHeaderCellDef
|
||||||
[ngStyle.gt-md]="{ minWidth: '144px', maxWidth: '144px', width: '144px'}">
|
[ngStyle.gt-md]="{ minWidth: '144px', maxWidth: '144px', width: '144px', textAlign: 'center'}">
|
||||||
{{ 'gateway.connectors-table-actions' | translate }}
|
{{ 'gateway.connectors-table-actions' | translate }}
|
||||||
</mat-header-cell>
|
</mat-header-cell>
|
||||||
<mat-cell *matCellDef="let attribute"
|
<mat-cell *matCellDef="let attribute"
|
||||||
|
|||||||
@ -30,6 +30,13 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
& > section:not(.table-section) {
|
||||||
|
max-width: unset;
|
||||||
|
@media #{$mat-gt-md} {
|
||||||
|
max-width: 50%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.table-section {
|
.table-section {
|
||||||
min-height: 35vh;
|
min-height: 35vh;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|||||||
@ -381,6 +381,7 @@ export class GatewayConnectorComponent extends PageComponent implements AfterVie
|
|||||||
if ($event) {
|
if ($event) {
|
||||||
$event.stopPropagation();
|
$event.stopPropagation();
|
||||||
}
|
}
|
||||||
|
this.initialConnector = attribute.value;
|
||||||
const title = `Delete connector ${attribute.key}?`;
|
const title = `Delete connector ${attribute.key}?`;
|
||||||
const content = `All connector data will be deleted.`;
|
const content = `All connector data will be deleted.`;
|
||||||
this.dialogService.confirm(title, content, 'Cancel', 'Delete').subscribe(result => {
|
this.dialogService.confirm(title, content, 'Cancel', 'Delete').subscribe(result => {
|
||||||
|
|||||||
@ -52,6 +52,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
min-width: 200px;
|
min-width: 200px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
min-height: 300px;
|
||||||
|
|
||||||
&:not(.fill-height) {
|
&:not(.fill-height) {
|
||||||
min-height: 200px;
|
min-height: 200px;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user