From 516c3082eda7a415a77be9305b80cf212e9925c4 Mon Sep 17 00:00:00 2001 From: Argo-Lenovo Date: Sat, 12 Nov 2016 19:20:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DBUG=EF=BC=9AiOS=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E4=B8=AD=E5=B7=A6=E4=BE=A7=E8=BE=B9=E6=A0=8F=E9=9C=80?= =?UTF-8?q?=E8=A6=81=E7=82=B9=E5=87=BB=E4=B8=A4=E6=AC=A1=E6=89=8D=E8=83=BD?= =?UTF-8?q?=E5=AF=BC=E8=88=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Admin/Content/css/site-responsive.css | 4 ++++ Bootstrap.Admin/Content/css/site.css | 6 ++++-- Bootstrap.Admin/Scripts/Content.js | 2 ++ Bootstrap.Admin/Views/Shared/Header.cshtml | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Bootstrap.Admin/Content/css/site-responsive.css b/Bootstrap.Admin/Content/css/site-responsive.css index fc6cd773..b4acbb05 100644 --- a/Bootstrap.Admin/Content/css/site-responsive.css +++ b/Bootstrap.Admin/Content/css/site-responsive.css @@ -32,6 +32,10 @@ right: 15px; left: auto; } + + .dropdown-menu.menu { + min-width: inherit; + } } @media (min-height: 700px) { diff --git a/Bootstrap.Admin/Content/css/site.css b/Bootstrap.Admin/Content/css/site.css index e3fbf155..f17cf485 100644 --- a/Bootstrap.Admin/Content/css/site.css +++ b/Bootstrap.Admin/Content/css/site.css @@ -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; } diff --git a/Bootstrap.Admin/Scripts/Content.js b/Bootstrap.Admin/Scripts/Content.js index b182164e..a862f746 100644 --- a/Bootstrap.Admin/Scripts/Content.js +++ b/Bootstrap.Admin/Scripts/Content.js @@ -1,4 +1,6 @@ $(function () { + $('#navbar').attr('data-toggle', "dropdown").addClass('dropdown-toggle'); + function iframeResposive() { try { var fra = $('iframe').get(0); diff --git a/Bootstrap.Admin/Views/Shared/Header.cshtml b/Bootstrap.Admin/Views/Shared/Header.cshtml index d085d014..e22343df 100644 --- a/Bootstrap.Admin/Views/Shared/Header.cshtml +++ b/Bootstrap.Admin/Views/Shared/Header.cshtml @@ -1,7 +1,7 @@ @model HeaderBarModel
- + @Model.Title