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:
parent
e226c2b074
commit
ef5b22b585
2 changed files with 3 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
<div class="container-fluid" *ngIf="series !== undefined" style="padding-top: 10px">
|
||||
<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">
|
||||
</div>
|
||||
<div class="col-md-10 col-xs-8 col-sm-6">
|
||||
|
|
|
@ -6,12 +6,9 @@
|
|||
|
||||
}
|
||||
|
||||
.image-center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.poster {
|
||||
max-height: 230px;
|
||||
width: 100%;
|
||||
max-height: 481px;
|
||||
}
|
||||
|
||||
.rating-star {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue