Skip to content

Commit cfdecce

Browse files
Merge pull request #189 from OS2iot/hotfix/firefox-styling
IOT-1522: Hotfix/firefox styling
2 parents ad689d8 + d25f3b3 commit cfdecce

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

src/app/applications/datatarget/datatarget-test-connection/datatarget-test-connection.component.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div class="container-fluid">
22
<div class="row">
33
<div class="col-md-6 d-flex align-items-stretch">
4-
<div class="jumbotron jumbotron--full-width">
4+
<div class="jumbotron jumbotron--full-width width100percent">
55
<div class="d-flex align-items-start justify-content-between">
66
<h3>{{ "DATATARGET.TEST_CONNECTION.TEST-CONNECTION" | translate }}</h3>
77
<div class="spinner-placeholder">
@@ -51,36 +51,36 @@ <h3>{{ "DATATARGET.TEST_CONNECTION.TEST-CONNECTION" | translate }}</h3>
5151
</div>
5252
</div>
5353
<div class="col-md-6 d-flex align-items-stretch min-height-400">
54-
<div class="jumbotron jumbotron--full-width">
54+
<div class="jumbotron jumbotron--full-width width100percent">
5555
<h3>{{ "DATATARGET.TEST_CONNECTION.CHOSEN-DATA-PACKAGE" | translate }}</h3>
5656
<ngx-monaco-editor
5757
[(ngModel)]="payloadData"
5858
[ngModelOptions]="{ standalone: true }"
59-
[options]="editorJsonOutpuOptions"
59+
[options]="editorJsonInputOptions"
6060
class="height-85"
6161
>
6262
</ngx-monaco-editor>
6363
</div>
6464
</div>
6565
<div class="col-md-6 d-flex align-items-stretch min-height-400">
66-
<div class="jumbotron jumbotron--full-width">
66+
<div class="jumbotron jumbotron--full-width width100percent">
6767
<h3>{{ "DATATARGET.TEST_CONNECTION.SENT-DECODED-REQUEST" | translate }}</h3>
6868
<ngx-monaco-editor
6969
[(ngModel)]="decodedData"
7070
[ngModelOptions]="{ standalone: true }"
71-
[options]="editorJsonOutpuOptions"
71+
[options]="editorJsonOutputOptions"
7272
class="height-85"
7373
>
7474
</ngx-monaco-editor>
7575
</div>
7676
</div>
7777
<div class="col-md-6 d-flex align-items-stretch min-height-400">
78-
<div class="jumbotron jumbotron--full-width">
78+
<div class="jumbotron jumbotron--full-width width100percent">
7979
<h3>{{ "DATATARGET.TEST_CONNECTION.RECEIVED-RESPONSE" | translate }}</h3>
8080
<ngx-monaco-editor
8181
[(ngModel)]="testResponse"
8282
[ngModelOptions]="{ standalone: true }"
83-
[options]="editorJsonOutpuOptions"
83+
[options]="editorJsonOutputOptions"
8484
class="height-85"
8585
>
8686
</ngx-monaco-editor>

src/app/applications/datatarget/datatarget-test-connection/datatarget-test-connection.component.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,22 @@ import { TranslateService } from "@ngx-translate/core";
1919
styleUrl: "./datatarget-test-connection.component.scss",
2020
})
2121
export class DatatargetTestConnectionComponent implements OnInit, OnDestroy {
22-
editorJsonOutpuOptions = {
22+
editorJsonOutputOptions = {
2323
theme: "vs",
2424
language: "json",
2525
autoIndent: true,
2626
roundedSelection: true,
2727
minimap: { enabled: false },
2828
readOnly: true,
2929
};
30+
editorJsonInputOptions = {
31+
theme: "vs",
32+
language: "json",
33+
autoIndent: true,
34+
roundedSelection: true,
35+
minimap: { enabled: false },
36+
readOnly: false,
37+
};
3038

3139
public iotDevices: IotDevice[];
3240
public payloadDecoders: PayloadDecoderMinimal[];

0 commit comments

Comments
 (0)