Adding link to ellipsis and fixing styling

This commit is contained in:
Clark Tomlinson 2014-09-05 14:54:53 -04:00
parent f5951b2254
commit 140c89f1c3
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

@ -874,6 +874,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,