couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [1/3] fauxton commit: updated refs/heads/master to 63d7ecb
Date Thu, 18 Sep 2014 09:09:01 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master c7fbc1ab9 -> 63d7ecb27


Show scrollbar for small browser heights

This hides the scrollbar unless the browser height is very small. Then
the scrollbar is visible.


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/0d671c7a
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/0d671c7a
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/0d671c7a

Branch: refs/heads/master
Commit: 0d671c7a3967260b86501b1848ffd26795352350
Parents: c7fbc1a
Author: Garren Smith <garren.smith@gmail.com>
Authored: Mon Sep 15 11:02:50 2014 +0200
Committer: Garren Smith <garren.smith@gmail.com>
Committed: Thu Sep 18 11:03:21 2014 +0200

----------------------------------------------------------------------
 assets/less/fauxton.less | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/0d671c7a/assets/less/fauxton.less
----------------------------------------------------------------------
diff --git a/assets/less/fauxton.less b/assets/less/fauxton.less
index cc4b299..f8a1141 100644
--- a/assets/less/fauxton.less
+++ b/assets/less/fauxton.less
@@ -335,6 +335,18 @@ table.databases {
   }
 }
 
+@media screen and ( max-height: 600px ){
+ #primary-navbar{
+     overflow-y: scroll;
+ }
+}
+
+@media screen and ( min-height: 600px ){
+ #primary-navbar{
+     overflow-y: hidden;
+ }
+}
+
 /* Fixed side navigation */
 #primary-navbar {
   height: 100%;
@@ -343,7 +355,6 @@ table.databases {
   top: 0;
   bottom: 0;
   background-color: @primaryNav;
-  overflow: hidden;
   .js-version {
     color: #fff;
     font-size: 10px;


Mime
View raw message