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

feat: add default size for map component #3460

Merged
merged 1 commit into from
Feb 18, 2022

Conversation

sissbruecker
Copy link
Contributor

Description

Adds a default size for the map component. The element already was a block element, which covers width. For height the element should align with Grid and Charts, which both have a default height of 400px.

Fixes #3449

Type of change

  • Feature

Comment on lines +67 to +68
flex: 1 1 auto;
align-self: stretch;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aligned the flex properties with Grid. Not sure if we had issues with Grid in that regard, but they seem reasonable to have.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@sissbruecker sissbruecker merged commit 0a8c2b9 into master Feb 18, 2022
@sissbruecker sissbruecker deleted the feat/map_add_default_size branch February 18, 2022 10:25
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with platform 23.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[map] Set a default height for the component
3 participants