To get the current behaviour (tags after title), set pref `extensions.zotero.ui.tagsAfterTitle` to true.
This commit is contained in:
parent
8e5732cf9c
commit
f8d59d14bc
2 changed files with 11 additions and 1 deletions
|
@ -2616,7 +2616,12 @@ var ItemTree = class ItemTree extends LibraryTree {
|
||||||
textSpan.dir = 'auto';
|
textSpan.dir = 'auto';
|
||||||
textSpan.setAttribute('aria-label', textSpanAriaLabel);
|
textSpan.setAttribute('aria-label', textSpanAriaLabel);
|
||||||
|
|
||||||
span.append(retracted, textSpan, ...tagSpans);
|
if (Zotero.Prefs.get('ui.tagsAfterTitle')) {
|
||||||
|
span.append(retracted, textSpan, ...tagSpans);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
span.append(retracted, ...tagSpans, textSpan);
|
||||||
|
}
|
||||||
|
|
||||||
return span;
|
return span;
|
||||||
}
|
}
|
||||||
|
|
|
@ -103,6 +103,11 @@
|
||||||
transform: scaleX(-1);
|
transform: scaleX(-1);
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.icon-item-type + .tag-swatch,
|
||||||
|
.icon-item-type + .colored-tag-swatches {
|
||||||
|
margin-left: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
.tag-swatch {
|
.tag-swatch {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
Loading…
Reference in a new issue