Skip to content

Add back minimal styles required for % value height on map elements in the example(s) #25

Closed
@Malvoz

Description

@Malvoz

In #10 (comment) I didn't think it was necessary to add those (and other) non-required styles,
but becase body, html { height: 100%; } is required to set the map element's (or any element really) height to a % value and match the expectation I think it's a good idea to note that with the minimal styles:

<style>
  /* These styles are required if you wish to use
  a % height value on the mapml-viewer element. */
  html,
  body {
    height: 100%;
  }
</style>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions