Skip to content

Commit

Permalink
ui: fix front page responsiveness rero#381
Browse files Browse the repository at this point in the history
* Improves height-responsiveness of the front page.

Co-Authored-by: Alicia Zangger <alicia.zangger@rero.ch>
  • Loading branch information
Alicia Zangger committed Sep 19, 2019
1 parent 2bc5120 commit 45e8505
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions rero_ils/static/scss/rero_ils/frontpage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,22 @@
*/

.rero-ils-frontpage {
height: 45vh;
background-image: url(#{$static-images}/homepage_image_bleu.jpg);
background-size: cover;
background-position: center;
form {
margin: 0 auto;
width: 80%;
}
@include media-breakpoint-down(xs) {
height: 60vh;

@media (max-height: 500px){
height: 85vh;
}
@media (min-height: 500px){
height: 70vh;
}
@media (min-height: 700px){
height: 45vh;
}
}

Expand Down

0 comments on commit 45e8505

Please sign in to comment.