FIX
This commit is contained in:
parent
66e8aea2c7
commit
d2eb7a914a
|
|
@ -31,7 +31,7 @@ div#control {position: fixed; z-index: 1000;}
|
||||||
@media screen and (max-width:992px) {
|
@media screen and (max-width:992px) {
|
||||||
.pagePoinsNearCards {display: inline-block; width: 116px; height: 87px; overflow: hidden;}
|
.pagePoinsNearCards {display: inline-block; width: 116px; height: 87px; overflow: hidden;}
|
||||||
.pagePoinsNearCardsImg {width: 116px; height: 87px;}
|
.pagePoinsNearCardsImg {width: 116px; height: 87px;}
|
||||||
.onlySmallScreen {display: initial;}
|
.onlySmallScreen {display: block;}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width:815px) {
|
@media screen and (max-width:815px) {
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row elements">
|
<div class="row elements">
|
||||||
<div class="col-md-2">
|
<div class="col-md-2">
|
||||||
<h4 class="onlySmallScreen text-center" style="display: block;">Новости</h4>
|
<h4 class="onlySmallScreen text-center">Новости</h4>
|
||||||
<?php foreach ($news as $item) : ?>
|
<?php foreach ($news as $item) : ?>
|
||||||
<div class="element news">
|
<div class="element news">
|
||||||
<h4><?= $item->title ?></h4>
|
<h4><?= $item->title ?></h4>
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
<?php endforeach;?>
|
<?php endforeach;?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-5">
|
<div class="col-md-5">
|
||||||
<h4 class="onlySmallScreen text-center" style="display: block;">Точки</h4>
|
<h4 class="onlySmallScreen text-center">Точки</h4>
|
||||||
<?php foreach ($points as $item) : ?>
|
<?php foreach ($points as $item) : ?>
|
||||||
<div class="element points">
|
<div class="element points">
|
||||||
<h4><?= $item->name ?></h4>
|
<h4><?= $item->name ?></h4>
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
<a href="/page/points/"><h4 style="text-align: center;">У нас есть больше новых точек!</h4></a>
|
<a href="/page/points/"><h4 style="text-align: center;">У нас есть больше новых точек!</h4></a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-5">
|
<div class="col-md-5">
|
||||||
<h4 class="onlySmallScreen text-center" style="display: block;">Статьи</h4>
|
<h4 class="onlySmallScreen text-center">Статьи</h4>
|
||||||
<?php foreach ($articles as $item) : ?>
|
<?php foreach ($articles as $item) : ?>
|
||||||
<div class="element articles">
|
<div class="element articles">
|
||||||
<h4><?= $item->title ?></h4>
|
<h4><?= $item->title ?></h4>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue