Skip to content

Commit

Permalink
set height to inherit all the way down
Browse files Browse the repository at this point in the history
  • Loading branch information
JayChase committed Nov 12, 2019
1 parent 36fa0f6 commit bd857d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions projects/ngx-picture/src/lib/picture/picture.component.scss
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
:host {
width: 100%;
height: auto;
height: inherit;
display: block;
min-height: 1px;
}

picture {
width: 100%;
height: auto;
height: inherit;
img {
width: 100%;
height: auto;
height: inherit;
}
}

0 comments on commit bd857d4

Please sign in to comment.