mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 21:38:54 +00:00
[ticket/11552] More breadcrumbs adjustments
PHPBB3-11552
This commit is contained in:
parent
464248d341
commit
c15ab90c38
2 changed files with 8 additions and 1 deletions
|
@ -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]);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue