Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ui: add optional white background to PageConfig
Previously, the PageConfig component had a fixed grey background to match the page background, since it is a sticky component that needs a background color to cover content that scrolls beneath it. However, the background color is changing to white in CockroachCloud, so the background color needs to be able to match the new background. Until we apply the layout changes to `db-console`, this change allows us to specify a different background color in CockroachCloud. This change uses CockroachCloudContext to determine whether or not the PageConfig background color should be white. Release note: None Release justification: ui change for cluster-ui components used in cockroach cloud
- Loading branch information