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

fix: large control display "squishes" tabs for Component controls #855

Merged
merged 3 commits into from
May 11, 2023

Conversation

kylelaker
Copy link
Contributor

Historically, our display of controls for components has been a bit
fragile, where if the control side got too large, it would squish into
the component tabs and cause overflow, truncation, or wrapping. This is
suboptimal and instead we should use a behavior more like what we do in
OSCALControlGroups where we set a specific side on Grid items. The same
numbers are used in both places.

Because of the complexity around handling fragments, I did not rework
this into a shared component. No other styles for the component have
changes to align it with Controls (though we should do that).

Historically, our display of controls for components has been a bit
fragile, where if the control side got too large, it would squish into
the component tabs and cause overflow, truncation, or wrapping. This is
suboptimal and instead we should use a behavior more like what we do in
OSCALControlGroups where we set a specific side on Grid items. The same
numbers are used in both places.

Because of the complexity around handling fragments, I did not rework
this into a shared component. No other styles for the component have
changes to align it with Controls (though we should do that).
@kylelaker kylelaker merged commit cace4b7 into develop May 11, 2023
6 checks passed
@kylelaker kylelaker deleted the kyle/component-control-spacing branch May 11, 2023 16:51
@kylelaker kylelaker added the bug Something isn't working label Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants