Размеры образа уехали в css.

This commit is contained in:
lopar 2020-07-05 19:58:57 +03:00
parent 950a015220
commit 2746bd74ef
2 changed files with 7 additions and 1 deletions

View File

@ -147,7 +147,7 @@ EMPTY_SLOT;
}
echo '</div><!-- slot-lower -->';
echo '<div class="slot-image">';
echo sprintf('<img src="/i/shadow/%s" width="200" height="430" alt="%s">', $this->shadow, $this->login);
echo sprintf('<img src="/i/shadow/%s" alt="%s">', $this->shadow, $this->login);
echo '</div><!-- slot-image -->';
echo '<div class="user-signs">';
echo sprintf('<img src="i/zodiac/%s.png" alt="Родовой знак">', star_sign($this->borndate));

View File

@ -363,6 +363,12 @@ div.user-info-container > div.slot-image {
grid-row: 1 / 5;
}
div.user-info-container > div.slot-image > img {
width: 198px;
height: 428px;
border: 1px solid rgba(0, 0, 0, 0.25);
}
div.user-info-container > div.slot-lower {
grid-column: 1 / 4;
grid-row: 5;