ui-components
ui-components copied to clipboard
Allow GoAContainer to fit content width in addition to the existing 100% width
The .goa-container flex css can updated to allow for dynamically setting it to prevent flex growth.
.goa-container {
box-sizing: border-box;
display: flex;
flex: 0 0 auto; /** here **/
flex-direction: column;
}
The these changes:
Acceptance Criteria
- New property that dictates how the container is sized (either full-width or to content)
From this thread in the support channel: https://goa-dio.slack.com/archives/C02PLLT9HQ9/p1714490521425969
This should not change the default size for existing containers, but allow override for this?