Merge pull request #10902 from owncloud/fix-ellepsis

Adding link to ellipsis and fixing styling
This commit is contained in:
Lukas Reschke 2014-09-16 21:09:47 +02:00
commit 21afcb3e94
2 changed files with 7 additions and 0 deletions

View File

@ -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;

View File

@ -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,