Skip to content

Commit a9f23e4

Browse files
author
VladimirAmiorkov
committed
chore: add background color to modal in example
1 parent e722877 commit a9f23e4

File tree

5 files changed

+15
-3
lines changed

5 files changed

+15
-3
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
.system-background-color-stack-layout {
3+
background-color: white;
4+
}
5+
6+
.ns-dark .system-background-color-stack-layout {
7+
background-color: gray;
8+
}

e2e/tests-app-ng/app/lazy/lazy.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<StackLayout>
1+
<StackLayout class="system-background-color-stack-layout">
22
<GridLayout rows="auto" columns="auto" [visibility]="isModal ? 'visible' : 'collapsed'">
33
<Button
44
automationText="closeModal"

e2e/tests-app-ng/app/lazy/lazy.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { ModalDialogParams } from "nativescript-angular/directives/dialogs";
77
selector: "ns-lazy",
88
moduleId: module.id,
99
templateUrl: "./lazy.component.html",
10+
styleUrls: ["./lazy.component.css"]
1011
})
1112
export class LazyComponent {
1213
public isModal: boolean;

e2e/tests-app-ng/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@angular/platform-browser": "~8.2.0",
2222
"@angular/platform-browser-dynamic": "~8.2.0",
2323
"@angular/router": "~8.2.0",
24-
"nativescript-angular": "file:../../nativescript-angular",
24+
"nativescript-angular": "file:../../nativescript-angular-package",
2525
"nativescript-intl": "~3.0.0",
2626
"nativescript-theme-core": "^1.0.4",
2727
"reflect-metadata": "~0.1.8",
@@ -38,7 +38,7 @@
3838
"codelyzer": "^5.1.0",
3939
"filewalker": "^0.1.3",
4040
"lazy": "1.0.11",
41-
"nativescript-dev-webpack": "next",
41+
"nativescript-dev-webpack": "rc",
4242
"tslint": "^5.4.3",
4343
"typescript": "~3.5.3"
4444
},

e2e/tests-app-ng/tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,13 @@
2424
}
2525
},
2626
"include": [
27+
"../../nativescript-angular-package",
2728
"../../nativescript-angular",
2829
"**/*"
2930
],
3031
"exclude": [
32+
"../../nativescript-angular-package/node_modules",
33+
"../../nativescript-angular-package/**/*.d.ts",
3134
"../../nativescript-angular/node_modules",
3235
"../../nativescript-angular/**/*.d.ts",
3336
"node_modules",

0 commit comments

Comments
 (0)