修复BUG:iOS设备中左侧边栏需要点击两次才能导航

This commit is contained in:
Argo-Lenovo 2016-11-12 19:20:19 +08:00
parent 2e3e2bf3f2
commit 516c3082ed
4 changed files with 11 additions and 3 deletions

View File

@ -32,6 +32,10 @@
right: 15px;
left: auto;
}
.dropdown-menu.menu {
min-width: inherit;
}
}
@media (min-height: 700px) {

View File

@ -495,12 +495,14 @@ div button span {
.dropdown-menu.menu {
top: 50px;
left: 15px;
left: 6px;
margin-right: 15px;
min-height: 160px;
min-width: 280px;
}
.dropdown-menu.menu .arrow-up {
left: 43px;
left: 8px;
top: -10px;
}

View File

@ -1,4 +1,6 @@
$(function () {
$('#navbar').attr('data-toggle', "dropdown").addClass('dropdown-toggle');
function iframeResposive() {
try {
var fra = $('iframe').get(0);

View File

@ -1,7 +1,7 @@
@model HeaderBarModel
<!--header start-->
<header class="header white-bg">
<a href="#" data-toggle="dropdown" class="sidebar-toggle-box dropdown-toggle">
<a id="navbar" href="#" class="sidebar-toggle-box">
<i class="fa fa-bars"></i>
<!--logo start-->
<span>@Model.Title</span>