@@ -14,10 +14,10 @@ <h1>Libraries</h1>
1414 < h4 > Highest rated libraries</ h4 >
1515 < div class ="sample-libraries row ">
1616 < div *ngFor ="#library of highestRatedLibs.slice(0, 10) " class ="library-movie col-xs-6 col-sm-4 col-md-3 col-lg-2 ">
17- < div class ="movie-poster-container " style ="position:relative; height:75%; padding:7px ">
17+ < div class ="movie-poster-container " style ="padding:7px ">
1818 < img src ="./assets/default_library.png " class ="" style ="margin-bottom:2px; height:auto; width:100%; padding:4px "[routerLink] ="['/Library', { library: library._id }] ">
1919 </ div >
20- < div class ="library-details " style =" height:25% " >
20+ < div class ="library-details ">
2121 < span > {{library.name}} ({{library.user.username}})</ span >
2222 < div class ="ratings " style ="display:block ">
2323 < span class ="glyphicon {{ getAvgRating(library.ratings) < 1 ? 'glyphicon-star-empty': 'glyphicon-star' }} "> </ span >
@@ -32,10 +32,10 @@ <h4>Highest rated libraries</h4>
3232 < h4 > Libraries with the most movies</ h4 >
3333 < div class ="sample-libraries row ">
3434 < div *ngFor ="#library of mostMoviesLibs.slice(0, 10) " class ="library-movie col-xs-6 col-sm-4 col-md-3 col-lg-2 ">
35- < div class ="movie-poster-container " style ="position:relative; height:75%; padding:7px ">
35+ < div class ="movie-poster-container " style ="padding:7px ">
3636 < img src ="./assets/default_library.png " class ="" style ="margin-bottom:2px; height:auto; width:100%; padding:4px "[routerLink] ="['/Library', { library: library._id }] ">
3737 </ div >
38- < div class ="library-details " style =" height:25% " >
38+ < div class ="library-details ">
3939 < span > {{library.name}} ({{library.user.username}})</ span >
4040 < span style ="display:block "> {{library.movies.length}} {{library.movies.length === 1 ? 'movie' : 'movies' }}</ span >
4141 </ div >
@@ -44,10 +44,10 @@ <h4>Libraries with the most movies</h4>
4444 < h4 > Libraries with the most comments</ h4 >
4545 < div class ="sample-libraries row ">
4646 < div *ngFor ="#library of mostCommentsLibs.slice(0, 10) " class ="library-movie col-xs-6 col-sm-4 col-md-3 col-lg-2 ">
47- < div class ="movie-poster-container " style ="position:relative; height:75%; padding:7px ">
47+ < div class ="movie-poster-container " style ="padding:7px ">
4848 < img src ="./assets/default_library.png " class ="" style ="margin-bottom:2px; height:auto; width:100%; padding:4px "[routerLink] ="['/Library', { library: library._id }] ">
4949 </ div >
50- < div class ="library-details " style =" height:25% " >
50+ < div class ="library-details ">
5151 < span > {{library.name}} ({{library.user.username}})</ span >
5252 < span style ="display:block "> {{library.comments.length}} {{library.comments.length === 1 ? 'comment' : 'comments' }}</ span >
5353 </ div >
@@ -57,10 +57,10 @@ <h4>Libraries with the most comments</h4>
5757 < div class ="libraries-search " *ngIf ="showSearchResults ">
5858 < div class ="sample-libraries row ">
5959 < div *ngFor ="#library of getShownResults() " class ="library-movie col-xs-6 col-sm-4 col-md-3 col-lg-2 ">
60- < div class ="movie-poster-container " style ="position:relative; height:75%; padding:7px ">
60+ < div class ="movie-poster-container " style ="padding:7px ">
6161 < img src ="./assets/default_library.png " class ="" style ="margin-bottom:2px; height:auto; width:100%; padding:4px "[routerLink] ="['/Library', { library: library._id }] ">
6262 </ div >
63- < div class ="library-details " style =" height:25% " >
63+ < div class ="library-details ">
6464 < span > {{library.name}} ({{library.user.username}})</ span >
6565 </ div >
6666 </ div >
0 commit comments