diff options
author | Frank Karlitschek <frank@owncloud.org> | 2013-11-29 03:27:50 -0800 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2013-11-29 03:27:50 -0800 |
commit | 1dc931b778a22a0105065f2122bb6de4dd7361d6 (patch) | |
tree | aeb1561b3a38418cc67d17daa300aefa123827fc /core/css/styles.css | |
parent | a03ba06dcd67f49b8f16418b8939fea1e4fb7145 (diff) | |
parent | 6b3b3d8af4635f24fe8f5d7dc13ce8db81a494af (diff) | |
download | nextcloud-server-1dc931b778a22a0105065f2122bb6de4dd7361d6.tar.gz nextcloud-server-1dc931b778a22a0105065f2122bb6de4dd7361d6.zip |
Merge pull request #5984 from owncloud/nav-scrollbar
always show app navigation scrollbar when too many apps in there
Diffstat (limited to 'core/css/styles.css')
-rw-r--r-- | core/css/styles.css | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/core/css/styles.css b/core/css/styles.css index 13888106f76..c651eb05238 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -577,14 +577,13 @@ label.infield { cursor:text !important; top:1.05em; left:.85em; } width: 80px; margin-top:45px; z-index: 75; - background:#383c43 url('../img/noise.png') repeat; - overflow:hidden; box-sizing:border-box; -moz-box-sizing:border-box; + background: #383c43 url('../img/noise.png') repeat; + overflow-y: auto; + overflow-x: hidden; + -moz-box-sizing:border-box; box-sizing:border-box; /* prevent ugly selection effect on accidental selection */ -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } -#navigation:hover { - overflow-y: auto; /* show scrollbar only on hover */ -} #apps { height: 100%; } @@ -596,6 +595,9 @@ label.infield { cursor:text !important; top:1.05em; left:.85em; } color: #fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; /* ellipsize long app names */ padding-bottom: 10px; + /* prevent shift caused by scrollbar */ + padding-left: 8px; + width: 64px; } /* icon opacity and hover effect */ |