Open AmeliaBR opened 4 years ago
As discussed in #168
That discussion mainly revolves around having the map viewer not be wider than the viewport. But no other HTML element is responsive by default, I don't think the map viewer should be.
max-width: 100%
on the map viewer element should be sufficient to achieve responsiveness.
Or is this about having the exposed user interface (MapML's definition for reference) adapt to the available space?
Comparing to video
, if a default control doesn't have enough space, it is display: none
(in Chrome at least):
Additionally, it'd probably be convenient if the UA would hide certain "secondary" but default controls in a menu:
Edit: I brought this up in https://github.com/WICG/open-ui/issues/213#issuecomment-735245069 (issue for improving the standard media elements).
As discussed in #168, ideally map viewer widgets would be responsive for easily adapting to the device size.
Not sure whether to list this as an authoring use case (want the widget to fit your site design), or as an end-user use case (want the widget to fit your device, whether or not the author thought about it).