Skip to content

Commit

Permalink
fix alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
thebookins committed Feb 2, 2020
1 parent 348d719 commit c65f73b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/app/fb-like/fb-like.component.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<p>fb-like works!</p>
<div class="fb-like" [attr.data-href]="url" data-layout="button_count" data-action="like" data-show-faces="true" data-share="true"></div>`
5 changes: 3 additions & 2 deletions src/app/fb-like/fb-like.component.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { Component, ElementRef, AfterViewInit, Input } from '@angular/core';

@Component({
selector: 'fb-like',
template: `<div class="fb-like" [attr.data-href]="url" data-layout="button_count" data-action="like" data-show-faces="true" data-share="true"></div>`
selector: 'app-fb-like',
templateUrl: './fb-like.component.html',
styleUrls: ['./fb-like.component.css']
})

export class FbLikeComponent implements AfterViewInit {
Expand Down
8 changes: 6 additions & 2 deletions src/app/status-bar/status-bar.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
</p>
</mat-card-content>
<mat-card-actions>
<app-twit-follow></app-twit-follow>
<fb-like></fb-like>
<p>
<app-twit-follow></app-twit-follow>
</p>
<p>
<fb-like></fb-like>
</p>
</mat-card-actions>
</mat-card>

0 comments on commit c65f73b

Please sign in to comment.