Skip to content

Commit

Permalink
Merge pull request #10 from fixiversity/home_fix
Browse files Browse the repository at this point in the history
Fixed backround resizing in home carousel
  • Loading branch information
CaelumF authored Jun 28, 2019
2 parents 7c0d3ec + 1dd1e66 commit 1c1e25f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/app/home/home.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,9 @@ ngb-carousel {
overflow: hidden;
}
ngb-carousel img {
min-height: calc(75vh - 69px);
object-fit: contain;
margin-top: -10vh;
max-height: 1100px;
height: calc(75vh - 69px);
object-fit: cover;
min-width: 100%;
}
.carousel-caption {
background: #ffffff17;
Expand Down

0 comments on commit 1c1e25f

Please sign in to comment.