Skip to content

Commit

Permalink
21-styling-child-components
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Sevilleja committed Nov 6, 2017
1 parent b07d935 commit f02b466
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/pages/battle/battle.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { GifService } from '@app/core/services/gif.service';
</div>
`,
styles: [`
img {
::ng-deep img {
width: 100%;
height: 300px;
border-radius: 3px;
Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/create/create.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import { GifService } from '@app/core/services/gif.service';
width: 100%;
}
img {
::ng-deep img {
width: 100%;
border-radius: 3px;
}
Expand Down

0 comments on commit f02b466

Please sign in to comment.