Fixing up a sizing issue while keeping a restriction on height for webtoons (#412)

- increased the max-height to incorporate a percentage width for responsive scaling.
- Removed image-centering. No longer needed.
This commit is contained in:
Robbie Davis 2021-07-20 21:36:40 -04:00 committed by GitHub
parent e226c2b074
commit ef5b22b585
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 6 deletions

View File

@ -1,6 +1,6 @@
<div class="container-fluid" *ngIf="series !== undefined" style="padding-top: 10px"> <div class="container-fluid" *ngIf="series !== undefined" style="padding-top: 10px">
<div class="row mb-3"> <div class="row mb-3">
<div class="col-md-2 col-xs-4 col-sm-6 image-center"> <div class="col-md-2 col-xs-4 col-sm-6">
<img class="poster" [lazyLoad]="imageService.getSeriesCoverImage(series.id)" [defaultImage]="imageService.placeholderImage"> <img class="poster" [lazyLoad]="imageService.getSeriesCoverImage(series.id)" [defaultImage]="imageService.placeholderImage">
</div> </div>
<div class="col-md-10 col-xs-8 col-sm-6"> <div class="col-md-10 col-xs-8 col-sm-6">

View File

@ -6,12 +6,9 @@
} }
.image-center {
text-align: center;
}
.poster { .poster {
max-height: 230px; width: 100%;
max-height: 481px;
} }
.rating-star { .rating-star {