Repository: couchdb-fauxton Updated Branches: refs/heads/master e9f433030 -> 49267a412
Fix for right panel not being scrollable Certain two-panel pages like the Create Admin page had overflow hidden so content would get cut off an unreachable for smaller browser widths. This patches it to only apply the overflow for pages that need it (e.g. the doc list). Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/49267a41 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/49267a41 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/49267a41 Branch: refs/heads/master Commit: 49267a412ec0aae82a5055a7586d5864047a0922 Parents: e9f4330 Author: Ben Keen <[email protected]> Authored: Fri Apr 24 10:20:19 2015 -0700 Committer: Ben Keen <[email protected]> Committed: Tue May 5 07:05:53 2015 -0700 ---------------------------------------------------------------------- app/templates/layouts/with_sidebar.html | 2 +- app/templates/layouts/with_tabs_sidebar.html | 2 +- assets/less/templates.less | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/49267a41/app/templates/layouts/with_sidebar.html ---------------------------------------------------------------------- diff --git a/app/templates/layouts/with_sidebar.html b/app/templates/layouts/with_sidebar.html index 129ec1e..b74a38c 100644 --- a/app/templates/layouts/with_sidebar.html +++ b/app/templates/layouts/with_sidebar.html @@ -19,6 +19,6 @@ the License. <div class="with-sidebar content-area"> <div id="sidebar-content"></div> - <div id="dashboard-content" class="list window-resizeable"></div> + <div id="dashboard-content" class="scrollable list"></div> </div> </div> http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/49267a41/app/templates/layouts/with_tabs_sidebar.html ---------------------------------------------------------------------- diff --git a/app/templates/layouts/with_tabs_sidebar.html b/app/templates/layouts/with_tabs_sidebar.html index f58184d..e6acfa3 100644 --- a/app/templates/layouts/with_tabs_sidebar.html +++ b/app/templates/layouts/with_tabs_sidebar.html @@ -26,7 +26,7 @@ the License. <aside id="sidebar-content" class="scrollable"></aside> - <section id="dashboard-content" class="list scrollable"> + <section id="dashboard-content" class="list"> <div class="scrollable"> <div class="inner"> <div id="dashboard-upper-content"></div> http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/49267a41/assets/less/templates.less ---------------------------------------------------------------------- diff --git a/assets/less/templates.less b/assets/less/templates.less index 1a699ab..98f295f 100644 --- a/assets/less/templates.less +++ b/assets/less/templates.less @@ -414,6 +414,7 @@ with_tabs_sidebar.html /*remove gutter without rewriting variable*/ margin-left: 0px; } + .with-sidebar & { border-left: 1px solid @grayLight; .left-shadow-border(); @@ -422,7 +423,6 @@ with_tabs_sidebar.html bottom: 0px; top: @collapsedNavWidth; position: fixed; - overflow: hidden; left: @sidebarWidth+@navWidth; right: 0; .box-sizing(border-box); @@ -430,6 +430,10 @@ with_tabs_sidebar.html left: @sidebarWidth+@collapsedNavWidth; } } + .with-tabs-sidebar & { + overflow: hidden; + } + > div.inner { display: block; }
