mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-11-15 11:40:43 +00:00
d737153e29
This adjusts the position of the tooltip depending on what is the position of the related revision bar in the plot, and on the size of the contents of the tooltip. This change makes the tooltip be always displayed below the revision plot, so it is visible to the user no matter if there is enough (visible) space above the plot. Also now it is checked if there is enough space on the left and right side of the browser window to display the tooltip centered horizontally. If not, this adjusts the horizontal position of the tooltip so that it does not get shown outside of the window. The latter in particular improves displaying of longer edit summaries in RTL mode. Apparently LTR-centered browsers took care of not showing the tooltip outside the right edge of the window but in the case of left edge the tooltip could run outside of the window leaving a part of summary not visible to the user without scrolling. Bug: T141071 Bug: T141093 Change-Id: I8d519c5fd42d8403b527fa97d72a5c46991fc27b |
||
---|---|---|
.. | ||
ext.RevisionSlider.css | ||
ext.RevisionSlider.DiffPage.js | ||
ext.RevisionSlider.fetchRevisions.js | ||
ext.RevisionSlider.HelpDialog.js | ||
ext.RevisionSlider.init.js | ||
ext.RevisionSlider.noscript.css | ||
ext.RevisionSlider.Pointer.js | ||
ext.RevisionSlider.PointerView.js | ||
ext.RevisionSlider.Revision.js | ||
ext.RevisionSlider.RevisionList.js | ||
ext.RevisionSlider.RevisionListView.js | ||
ext.RevisionSlider.Slider.js | ||
ext.RevisionSlider.SliderView.js |