From c15f5a89a07316404b289fc0c65db1a4e52c95d1 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 5 Aug 2013 14:19:32 -0700 Subject: Enable scrollable responsive nav bar Fixes #9007 in a hopefully decent way --- dist/css/bootstrap.css | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'dist/css/bootstrap.css') diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css index 4d8bb7038..50b168190 100644 --- a/dist/css/bootstrap.css +++ b/dist/css/bootstrap.css @@ -2870,6 +2870,16 @@ button.close { margin-bottom: 0; } +@media (max-width: 768px) { + .nav-collapse-scrollable { + max-height: 360px; + margin-bottom: 15px; + overflow-x: hidden; + overflow-y: scroll; + -webkit-overflow-scrolling: touch; + } +} + .navbar-brand { display: block; max-width: 200px; -- cgit v1.2.3