mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-12 01:01:29 +00:00
Revert "Use display: inline-block instead of unicode-bidi"
I think this change causes too many issues on non-LTR wikis (see the associated tasks) to be acceptable in the current form. Maybe it should be redone to apply to RTL text only if it's worth it there (apologies, but I don't quite understand the issue). This reverts commite9c1521fca
and commit59ef3c8678
(which was the previous attempt to fix it and caused different issues). Bug: T108493 Bug: T110057 Change-Id: I205400c59a342dcc4cdf89791bc1c761805cd2a8
This commit is contained in:
parent
d0b189cff0
commit
04ac55ed52
|
@ -6,12 +6,11 @@
|
|||
user-select: none;
|
||||
}
|
||||
|
||||
/* Make sure the brackets and the numbers aren't jumbled after LTR words in RTL wikis */
|
||||
/* Isolation to fix references in case of RTL words at the end of a reference */
|
||||
sup.reference {
|
||||
/* Ideally unicode-bidi: isolate should be used here,
|
||||
however due Firefox bug https://bugzilla.mozilla.org/1185987
|
||||
we use inline-block to replicate the effect */
|
||||
display: inline-block;
|
||||
unicode-bidi: -moz-isolate;
|
||||
unicode-bidi: -webkit-isolate;
|
||||
unicode-bidi: isolate;
|
||||
}
|
||||
|
||||
/* Highlight clicked reference in blue to help navigation */
|
||||
|
|
Loading…
Reference in a new issue