RTL: Put creator commas on left, use locale character
This commit is contained in:
parent
ef1f64058e
commit
2ab1bf6e11
2 changed files with 5 additions and 2 deletions
|
@ -225,6 +225,9 @@
|
||||||
Zotero.Prefs.registerObserver('fontSize', () => {
|
Zotero.Prefs.registerObserver('fontSize', () => {
|
||||||
this.refresh();
|
this.refresh();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
this.style.setProperty('--comma-character',
|
||||||
|
"'" + Zotero.getString('punctuation.comma') + "'");
|
||||||
}
|
}
|
||||||
|
|
||||||
destroy() {
|
destroy() {
|
||||||
|
|
|
@ -193,9 +193,9 @@ item-box {
|
||||||
*[fieldMode="0"]:first-child {
|
*[fieldMode="0"]:first-child {
|
||||||
position: relative;
|
position: relative;
|
||||||
&::after {
|
&::after {
|
||||||
content: ",";
|
content: var(--comma-character, ',');
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
inset-inline-end: 0;
|
||||||
bottom: var(--editable-text-padding-block);
|
bottom: var(--editable-text-padding-block);
|
||||||
}
|
}
|
||||||
&.focused::after {
|
&.focused::after {
|
||||||
|
|
Loading…
Reference in a new issue