diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-09-16 21:09:47 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-09-16 21:09:47 +0200 |
commit | 21afcb3e94b65164d4ec75f2d0e9ed76305687bb (patch) | |
tree | 94b49bf19907e6d5e3ba0ddf8e8264bcefc08d9e | |
parent | 368391e40138739f6a02ad6cd44a925bdff970a8 (diff) | |
parent | 140c89f1c3e40127e3e3c176fa62e5d452f331b8 (diff) | |
download | nextcloud-server-21afcb3e94b65164d4ec75f2d0e9ed76305687bb.tar.gz nextcloud-server-21afcb3e94b65164d4ec75f2d0e9ed76305687bb.zip |
Merge pull request #10902 from owncloud/fix-ellepsis
Adding link to ellipsis and fixing styling
-rw-r--r-- | apps/files/js/breadcrumb.js | 2 | ||||
-rw-r--r-- | core/css/styles.css | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/apps/files/js/breadcrumb.js b/apps/files/js/breadcrumb.js index 7381fa8e432..8df9b7ee6fe 100644 --- a/apps/files/js/breadcrumb.js +++ b/apps/files/js/breadcrumb.js @@ -224,6 +224,8 @@ this.$el.find('.crumb.ellipsized') .attr('title', $crumb.attr('data-dir')) .tipsy(); + this.$el.find('.ellipsis') + .wrap('<a class="ellipsislink" href="' + encodeURI(OC.generateUrl('apps/files/?dir=' + $crumb.attr('data-dir'))) + '"></a>'); } // and all the previous ones (going backwards) firstHidden = false; diff --git a/core/css/styles.css b/core/css/styles.css index 7058a2bf7c2..e8c58cff249 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -885,6 +885,11 @@ div.crumb.last { font-weight: bold; margin-right: 10px; } +div.crumb a.ellipsislink { + padding: 0 !important; + position: relative; + top: 8px !important; +} /* some feedback for hover/tap on breadcrumbs */ div.crumb:hover, |