Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] In ReactiveOpenStreetMap, where comes from the 100vh on height? #101

Open
kud opened this issue Apr 9, 2020 · 0 comments
Open

Comments

@kud
Copy link

kud commented Apr 9, 2020

Hello,

I would like to remove the 100vh on the container of the map.

I had to do this, but it's ugly:

const Aside = styled.aside`
  .map {
    height: 100% !important;
  }
`

            <Aside>
              <ReactiveOpenStreetMap
                componentId="Map"
                dataField="location"
                title="Venue Location Map"
                size={100}
                defaultZoom={5}
                className="map"
                react={{
                  and: ["Search", "InstrumentsFilter"],
                }}
                renderData={({ firstName, lastName }) => ({
                  label: `${firstName} ${lastName}`,
                })}
              />
            </Aside>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant