Skip to content

Commit

Permalink
Merge pull request #110 from JRPoinsot/bugfix/step-binding-solution
Browse files Browse the repository at this point in the history
Remove useless interface Foo in model (step binding-solution)
  • Loading branch information
nlm-pro authored Jan 17, 2019
2 parents d76a933 + 8fd7d75 commit 0664d29
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 19 deletions.
6 changes: 1 addition & 5 deletions steps/binding-solution/src/app/people.model.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
interface foo {
bar: number;
}

export class People implements foo {
export class People {
id: string;
photo: string;
firstname: string;
Expand Down
8 changes: 2 additions & 6 deletions steps/input-solution/src/app/shared/card/card.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ mat-card-title span {
}

mat-card-subtitle.contact-info {
display: flex;
align-items: center;
margin-top: -7px;
height: 20px;
}
Expand All @@ -44,12 +46,6 @@ mat-card-title-group {
margin-bottom: 20px;
}

.contact-info mat-icon + a {
top: -8px;
position: relative;
height: 18px;
}

.contact-info a:hover {
text-decoration: underline;
}
Expand Down
8 changes: 2 additions & 6 deletions steps/input/src/app/home/home.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ mat-card-title span {
}

mat-card-subtitle.contact-info {
display: flex;
align-items: center;
margin-top: -7px;
height: 20px;
}
Expand All @@ -55,12 +57,6 @@ mat-card-title-group {
margin-bottom: 20px;
}

.contact-info mat-icon + a {
top: -8px;
position: relative;
height: 18px;
}

.contact-info a:hover {
text-decoration: underline;
}
Expand Down
4 changes: 2 additions & 2 deletions steps/input/src/app/home/home.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</mat-card-title>
<mat-card-subtitle>Sfeir-Paris</mat-card-subtitle>
<mat-card-subtitle class="contact-info">
<mat-icon svgSrc="assets/images/icon-mail.svg"></mat-icon>
<mat-icon>email</mat-icon>
<a
href="mailto:Powers Blacks&lt;luannpowers@sfeir.com&gt;"
title="Send an email to Powers Blacks"
Expand All @@ -18,7 +18,7 @@
>
</mat-card-subtitle>
<mat-card-subtitle class="contact-info">
<mat-icon svgSrc="assets/images/icon-phone.svg"></mat-icon>
<mat-icon>phone</mat-icon>
<a href="tel:+33688258827" title="Call Powers">+33688258827</a>
</mat-card-subtitle>
</mat-card-title-group>
Expand Down

0 comments on commit 0664d29

Please sign in to comment.