The issue is present in betalabs too:
Go to any mapframe (or insert one e.g. below:) - the horizontal scrolling will be present:
<mapframe text="India (80,20)" width=700 height=400 zoom=3 longitude="80" latitude="20">
Etonkovidova | |
Apr 30 2018, 7:23 PM |
F18393236: Screen Shot 2018-05-20 at 6.43.01 PM.png | |
May 20 2018, 4:43 PM |
F18104002: Screen Shot 2018-05-09 at 1.23.23 PM.png | |
May 9 2018, 8:37 PM |
F18104005: Screen Shot 2018-05-09 at 1.35.42 PM.png | |
May 9 2018, 8:37 PM |
F17457468: Screen Shot 2018-04-30 at 12.22.27 PM.png | |
Apr 30 2018, 7:23 PM |
The issue is present in betalabs too:
Go to any mapframe (or insert one e.g. below:) - the horizontal scrolling will be present:
<mapframe text="India (80,20)" width=700 height=400 zoom=3 longitude="80" latitude="20">
eek; it was a combination of an older condition with the padding/placements that the new widgets used.
Fixed in the attached commit.
Change 432008 had a related patch set uploaded (by Mooeypoo; owner: Mooeypoo):
[mediawiki/extensions/Kartographer@master] Adjust padding/overflow to prevent redundant scrollbars in map sidebar
Change 432008 merged by jenkins-bot:
[mediawiki/extensions/Kartographer@master] Adjust padding/overflow to prevent redundant scrollbars in map sidebar
Perfectly working in betalabs (also works when re-sizing the window):
@Mooeypoo
However, when clicking on "View more", the horizontal scrolling appears. I vaguely remember that it's extremely difficult to disable horizontal scrolling if a vertical scrolling is in place, so maybe we should be fine as it is?
Oy, I'll take another look at this. I think I know why this happens, though, so I have a place to start...
I think I can try and play around with the sizing of the buttons to make this go away. If not, I can try and cheat but having the buttons themselves smaller than the highlight area, and have that area extend with an overflow. Alternatively, I can also hide all horizontal scrollbars, since those should never appear, but I am slightly worried about them being needed at some point in smaller screens.
I'll take another look.
Change 432640 had a related patch set uploaded (by Mooeypoo; owner: Mooeypoo):
[mediawiki/extensions/Kartographer@master] Adjust sidebar items' width to prevent horizontal scrollbar
Change 432640 merged by jenkins-bot:
[mediawiki/extensions/Kartographer@master] Adjust sidebar items' width to prevent horizontal scrollbar