mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-12 06:18:52 +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;
|
lastWidth = width;
|
||||||
|
|
||||||
if (wrapped) {
|
if (wrapped) {
|
||||||
$this.find('.crumb.wrapped').removeClass('wrapped ' + classes.join(' '));
|
$this.removeClass('wrapped').find('.crumb.wrapped').removeClass('wrapped ' + classes.join(' '));
|
||||||
wrapped = false;
|
wrapped = false;
|
||||||
if ($this.height() <= maxHeight) return;
|
if ($this.height() <= maxHeight) return;
|
||||||
}
|
}
|
||||||
|
|
||||||
wrapped = true;
|
wrapped = true;
|
||||||
|
$this.addClass('wrapped');
|
||||||
|
if ($this.height() <= maxHeight) return;
|
||||||
|
|
||||||
for (i = 0; i < classesLength; i ++) {
|
for (i = 0; i < classesLength; i ++) {
|
||||||
for (j = length; j >= 0; j --) {
|
for (j = length; j >= 0; j --) {
|
||||||
links.eq(j).addClass('wrapped ' + classes[i]);
|
links.eq(j).addClass('wrapped ' + classes[i]);
|
||||||
|
|
|
@ -385,6 +385,10 @@ ul.linklist.bulletin li.no-bulletin:before {
|
||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.breadcrumbs.wrapped .crumb {
|
||||||
|
letter-spacing: -.5px;
|
||||||
|
}
|
||||||
|
|
||||||
.breadcrumbs .crumb.wrapped {
|
.breadcrumbs .crumb.wrapped {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
Loading…
Add table
Reference in a new issue