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

Don't Specify Chart Width #683

Merged
merged 1 commit into from
Nov 25, 2024
Merged

Don't Specify Chart Width #683

merged 1 commit into from
Nov 25, 2024

Conversation

coreyogburn
Copy link
Contributor

Some charts were appearing narrower than they should. instead of specifying both a height and a width for the charts to fit themselves to, only specify the height. This should fix the old issue of charts erroneously growing to take up all available vertical space in a bad way, and instead should ensure the chart takes up all available horizontal space in a good way. The choice to specify the height on the group div allows for the height to be specified while not maximized, but when the maximized class is applied the max-height value is overwritten.

Also fixed some icons who's styles had them hardcoded as white. They disappeared in the white theme.

Some charts were appearing narrower than they should. instead of specifying both a height and a width for the charts to fit themselves to, only specify the height. This should fix the old issue of charts erroneously growing to take up all available vertical space in a bad way, and instead should ensure the chart takes up all available horizontal space in a good way. The choice to specify the height on the group div allows for the height to be specified while not maximized, but when the maximized class is applied the max-height value is overwritten.

Also fixed some icons who's styles had them hardcoded as white. They disappeared in the white theme.
@coreyogburn coreyogburn merged commit 3ba609c into 2.4/dev Nov 25, 2024
3 checks passed
@coreyogburn coreyogburn deleted the cogburn/chart-sizing branch November 25, 2024 20:39
@github-actions github-actions bot locked and limited conversation to collaborators Nov 25, 2024
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.

2 participants