[Wikidata-bugs] [Maniphest] T354316: Popups/tooltips in Wikidata interface cause horizontal scrolling on narrow screens

2024-01-04 Thread Tacsipacsi
Tacsipacsi added a comment.


  `right:0` isn’t good on all small screen sizes either: what if the popup is 
wider than the whole screen? A `right:0` would make it overflow – but this time 
on the left, which means that there’s no scrollbar, the content is simply 
hidden. So if the popup width is larger than the viewport width, it should once 
again be left-aligned, although possibly anchored to the left side of the 
viewport instead of wherever it’s anchored on large screens.

TASK DETAIL
  https://phabricator.wikimedia.org/T354316

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Tacsipacsi
Cc: Tacsipacsi, Aklapper, Nikki, Danny_Benjafield_WMDE, Astuthiodit_1, 
karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T354316: Popups/tooltips in Wikidata interface cause horizontal scrolling on narrow screens

2024-01-03 Thread Nikki
Nikki added a parent task: T330820: Make Wikidata desktop site more 
responsive/mobile-friendly.

TASK DETAIL
  https://phabricator.wikimedia.org/T354316

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Nikki
Cc: Aklapper, Nikki, Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, 
Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T354316: Popups/tooltips in Wikidata interface cause horizontal scrolling on narrow screens

2024-01-03 Thread Nikki
Nikki created this task.
Nikki added a project: Wikidata.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  Popups/tooltips in the Wikidata interface cause the page to scroll 
horizontally on narrower screens. It happens in various places:
  
  The tooltip for the help icon (screenshot from 
https://www.wikidata.org/wiki/Q33216580 at 700px):
  F41650201: help-tooltip.png 
  
  The license popup when editing a statement for the first time (screenshot 
from the same page):
  F41650203: license.png 
  
  The language selector for monolingual text statements (screenshot from 
https://www.wikidata.org/wiki/Q44112320 at 800px):
  F41650207: monolingualtext.png 
  
  The unit selector for quantity statements (screenshot from the same page):
  F41650209: quantity.png 
  
  The preview and precision/calendar options for date statements (screenshot 
from the same page):
  F41650205: date.png 
  
  The map preview and precision options for coordinate statements (screenshot 
from https://www.wikidata.org/wiki/Q11120461 at 800px):
  F41650211: coordinates.png 
  
  These are all caused by the popup/tooltip being positioned from to the left, 
even if the window is not wide enough. It should probably check whether the 
desired left offset plus the maximum width of the popup/tooltip is larger than 
the width of the window, and if it is, use `right: 0` to position it instead.

TASK DETAIL
  https://phabricator.wikimedia.org/T354316

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Nikki
Cc: Aklapper, Nikki, Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, 
Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org