FIX размер картинок на странице точки
This commit is contained in:
parent
650405b393
commit
b9de16b5fc
|
|
@ -97,7 +97,7 @@
|
||||||
нет известных нам точек.
|
нет известных нам точек.
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<?php foreach ($closestPoints as $cPoint): ?>
|
<?php foreach ($closestPoints as $cPoint): ?>
|
||||||
<a href="/page/point/id/<?= $cPoint->id ?>" style="display: inline-block; height: 139px; width: 186px; overflow: hidden;"><img src="<?= $cPoint->getImg() ?>" title="<?= $cPoint->name ?>" style="width: 186px;"/></a>
|
<a href="/page/point/id/<?= $cPoint->id ?>" style="display: inline-block; height: 139px; width: 16,6%; overflow: hidden;"><img src="<?= $cPoint->getImg() ?>" title="<?= $cPoint->name ?>" style="width: 186px; height: 139px;"/></a>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -107,7 +107,7 @@
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<h3 style="margin-top: 0;">Похожие:</h3>
|
<h3 style="margin-top: 0;">Похожие:</h3>
|
||||||
<?php foreach ($similarPoints as $sPoint): ?>
|
<?php foreach ($similarPoints as $sPoint): ?>
|
||||||
<a href="/page/point/id/<?= $sPoint->id ?>" style="display: inline-block; height: 139px; width: 186px; overflow: hidden;"><img src="<?= $sPoint->getImg() ?>" title="<?= $sPoint->name ?>" style="width: 186px;"/></a>
|
<a href="/page/point/id/<?= $sPoint->id ?>" style="display: inline-block; height: 139px; width: 16,6%; overflow: hidden;"><img src="<?= $sPoint->getImg() ?>" title="<?= $sPoint->name ?>" style="width: 186px; height: 139px;"/></a>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue