Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Remove height from FlexLayoutSection #1237

Merged
merged 1 commit into from Aug 11, 2020

Conversation

GuessWhoSamFoo
Copy link
Contributor

What this PR does / why we need it:
This PR removes height and margin from FlexLayoutSection. It had only once use case where donut charts were resized for the detail view over a resource viewer. Instead, this takes the donut chart size which was previously unused and passes those values as height/width dimensions for the resulting svg instead.

We should also see modest performance gains as sectionStyle will no longer run each second.

Which issue(s) this PR fixes

Signed-off-by: GuessWhoSamFoo <foos@vmware.com>
Copy link
Contributor

@mklanjsek mklanjsek left a comment

Choose a reason for hiding this comment

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

LGTM

@mklanjsek mklanjsek merged commit 7f6894f into vmware-archive:master Aug 11, 2020
@GuessWhoSamFoo GuessWhoSamFoo deleted the issue-1156 branch August 10, 2021 15:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove height from FlexLayoutItem
2 participants