FIX отображение пункта добавления точки в главном меню
This commit is contained in:
parent
0a18126ea3
commit
5a31e1202c
|
|
@ -1,7 +1,5 @@
|
|||
@media screen and (max-width:815px) {
|
||||
.onlyBigScreen {
|
||||
display: none;
|
||||
}
|
||||
.onlyBigScreen {display: none!important;}
|
||||
|
||||
div.header{
|
||||
padding: 5px 7px;
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@ img.imageInArticle {border: solid 3px white;max-width: 100%;}
|
|||
}
|
||||
|
||||
@media screen and (max-width:815px) {
|
||||
.onlyBigScreen {display: none;}
|
||||
.onlyBigScreen {display: none!important;}
|
||||
|
||||
body {
|
||||
padding: 60px 0 0 0!important;
|
||||
|
|
|
|||
|
|
@ -77,11 +77,11 @@ if (App::$user && App::$user->id) {
|
|||
<?php if (App::$user):
|
||||
$addWithoutConfirm = Point::model()->getCountByUser(App::$user->id) > 0;
|
||||
?>
|
||||
<li class="important">
|
||||
<li class="important onlyBigScreen">
|
||||
<a href="#" onclick="<?= $addWithoutConfirm ? 'activateAddPoint()' : 'showPointagreement()'; ?>">Добавить объект</a>
|
||||
</li>
|
||||
<?php else: ?>
|
||||
<li class="important"><a href="#" onclick="$('#loginModal').modal('show');">Добавить объект</a></li>
|
||||
<li class="important onlyBigScreen"><a href="#" onclick="$('#loginModal').modal('show');">Добавить объект</a></li>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue