Make sure anime detail pages don't distort images

This commit is contained in:
Timothy Warren 2017-02-21 12:24:34 -05:00
parent 7122085590
commit e87e5cb47c
4 changed files with 11 additions and 3 deletions

View File

@ -1,7 +1,7 @@
<main class="details">
<section class="flex flex-no-wrap">
<div>
<img class="cover" src="<?= $data['cover_image'] ?>" alt="" />
<img class="cover" width="402" height="284" src="<?= $data['cover_image'] ?>" alt="" />
<br />
<br />
<table class="media_details">

View File

@ -371,7 +371,7 @@ hr
img
{
height:auto;
max-width:100%;
/* max-width:100%; */
vertical-align:baseline;
}
@ -1035,6 +1035,10 @@ a:hover, a:active {
margin:0.25em 0.125em;
}
.media > img {
width: 100%;
}
.media .edit_buttons > button {
margin:0.5em auto;
}

View File

@ -307,6 +307,10 @@ a:hover, a:active {
margin: var(--normal-padding);
}
.media > img {
width: 100%;
}
.media .edit_buttons > button {
margin:0.5em auto;
}

View File

@ -337,7 +337,7 @@ hr
img
{
height:auto;
max-width:100%;
/* max-width:100%; */
vertical-align:baseline;
}