1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 20:13:22 +01:00

[ticket/11552] More breadcrumbs adjustments

PHPBB3-11552
This commit is contained in:
Vjacheslav Trushkin 2013-09-15 09:33:33 +03:00
parent 464248d341
commit c15ab90c38
2 changed files with 8 additions and 1 deletions

View File

@ -502,12 +502,15 @@ function insert_single_user(formId, user)
lastWidth = width;
if (wrapped) {
$this.find('.crumb.wrapped').removeClass('wrapped ' + classes.join(' '));
$this.removeClass('wrapped').find('.crumb.wrapped').removeClass('wrapped ' + classes.join(' '));
wrapped = false;
if ($this.height() <= maxHeight) return;
}
wrapped = true;
$this.addClass('wrapped');
if ($this.height() <= maxHeight) return;
for (i = 0; i < classesLength; i ++) {
for (j = length; j >= 0; j --) {
links.eq(j).addClass('wrapped ' + classes[i]);

View File

@ -385,6 +385,10 @@ ul.linklist.bulletin li.no-bulletin:before {
vertical-align: bottom;
}
.breadcrumbs.wrapped .crumb {
letter-spacing: -.5px;
}
.breadcrumbs .crumb.wrapped {
white-space: nowrap;
overflow: hidden;