Skip to content

Commit a5f799e

Browse files
committed
Added styles in app component
1 parent 5e36ada commit a5f799e

File tree

3 files changed

+8
-25
lines changed

3 files changed

+8
-25
lines changed

src/app/app.component.css

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,10 @@
1-
21
:host {
3-
display: flex;
4-
flex-direction: column;
52
background-color: mediumseagreen;
6-
}
7-
8-
:host > * {
9-
display: flex;
10-
min-height: 100%;
11-
}
12-
13-
.original-container{
14-
flex: 1;
15-
justify-content: center;
16-
align-items: center;
173
display: flex;
4+
flex-wrap: wrap;
5+
justify-content: space-around;
186
}
197

20-
.original-container > * {
21-
flex: 0.5;
8+
.playground-item {
9+
width: 500px;
2210
}

src/app/app.component.html

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
<div class="custom-container">
2-
<custom-playground-template-driven-forms></custom-playground-template-driven-forms>
3-
<custom-playground-reactive-forms></custom-playground-reactive-forms>
4-
</div>
5-
6-
<div class="original-container">
7-
<custom-playground-original-design></custom-playground-original-design>
8-
</div>
1+
<custom-playground-template-driven-forms class="playground-item"></custom-playground-template-driven-forms>
2+
<custom-playground-reactive-forms class="playground-item"></custom-playground-reactive-forms>
3+
<custom-playground-original-design class="playground-item"></custom-playground-original-design>

src/app/custom-controls/components/selectbox/selectbox.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="select">
22
<select
3-
#selectControl
3+
#selectElement
44
[id]="id"
55
[(ngModel)]="value"
66

0 commit comments

Comments
 (0)