From 0686087cfd0ef45ce2963058bf9c336136decc9e Mon Sep 17 00:00:00 2001 From: El RIDO Date: Sun, 20 Sep 2015 20:05:48 +0200 Subject: [PATCH] fixing mobile navbar triggered issue and slight adjustement to bootstrap template for using full width of browser for navbar --- css/bootstrap/zerobin.css | 2 +- js/zerobin.js | 1 - tpl/bootstrap-compact.html | 2 +- tpl/bootstrap.html | 26 ++++++++++++-------------- 4 files changed, 14 insertions(+), 17 deletions(-) diff --git a/css/bootstrap/zerobin.css b/css/bootstrap/zerobin.css index 38939b42..cc3ac429 100644 --- a/css/bootstrap/zerobin.css +++ b/css/bootstrap/zerobin.css @@ -10,7 +10,7 @@ body.navbar-spacing { } .navbar-nav { - margin: 0; + margin: 0 8px; } .dropdown-menu > li > label, .dropdown-menu > li > div { diff --git a/js/zerobin.js b/js/zerobin.js index 8e46ee16..da37f329 100644 --- a/js/zerobin.js +++ b/js/zerobin.js @@ -1095,7 +1095,6 @@ $(function() { this.stateNewPaste(); this.showStatus('', false); this.message.text(''); - $('.navbar-toggle').click(); }, /** diff --git a/tpl/bootstrap-compact.html b/tpl/bootstrap-compact.html index 153d9317..df1580ef 100644 --- a/tpl/bootstrap-compact.html +++ b/tpl/bootstrap-compact.html @@ -38,7 +38,7 @@ + {$value[0]} ({$value[1]}) + + {/loop} + + {/if} +
  • + +
  • +
    {if="strlen($NOTICE)"}